playbook_ui 7.0.1.pre.alpha12 → 7.0.1.pre.alpha14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -6
  3. data/app/pb_kits/playbook/_playbook.scss +1 -0
  4. data/app/pb_kits/playbook/data/menu.yml +1 -1
  5. data/app/pb_kits/playbook/index.js +3 -0
  6. data/app/pb_kits/playbook/packs/examples.js +6 -0
  7. data/app/pb_kits/playbook/packs/site_styles/docs/_kit_doc.scss +22 -6
  8. data/app/pb_kits/playbook/pb_avatar/_avatar.jsx +5 -1
  9. data/app/pb_kits/playbook/pb_background/_background.html.erb +14 -0
  10. data/app/pb_kits/playbook/pb_background/_background.jsx +64 -0
  11. data/app/pb_kits/playbook/pb_background/_background.scss +15 -0
  12. data/app/pb_kits/playbook/pb_background/background.rb +36 -0
  13. data/app/pb_kits/playbook/pb_background/docs/_background_default.html.erb +41 -0
  14. data/app/pb_kits/playbook/pb_background/docs/_background_default.jsx +75 -0
  15. data/app/pb_kits/playbook/pb_background/docs/example.yml +8 -0
  16. data/app/pb_kits/playbook/pb_background/docs/index.js +1 -0
  17. data/app/pb_kits/playbook/pb_badge/_badge.jsx +4 -2
  18. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.jsx +1 -1
  19. data/app/pb_kits/playbook/pb_button/_button.jsx +5 -1
  20. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.jsx +5 -1
  21. data/app/pb_kits/playbook/pb_caption/_caption.jsx +2 -2
  22. data/app/pb_kits/playbook/pb_checkbox/_checkbox.jsx +5 -2
  23. data/app/pb_kits/playbook/pb_checkbox/checkbox.rb +3 -1
  24. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb +10 -0
  25. data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +1 -0
  26. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.html.erb +1 -1
  27. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.jsx +130 -0
  28. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.scss +1 -1
  29. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +39 -0
  30. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +29 -0
  31. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +28 -0
  32. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +117 -0
  33. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +53 -0
  34. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +30 -0
  35. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +45 -0
  36. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +30 -0
  37. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +45 -0
  38. data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +11 -0
  39. data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +9 -0
  40. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx +5 -1
  41. data/app/pb_kits/playbook/pb_contact/_contact.jsx +5 -1
  42. data/app/pb_kits/playbook/pb_currency/_currency.jsx +5 -1
  43. data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.jsx +5 -1
  44. data/app/pb_kits/playbook/pb_date/date.rb +2 -1
  45. data/app/pb_kits/playbook/pb_date/docs/_date_default.html.erb +8 -1
  46. data/app/pb_kits/playbook/pb_date/docs/_date_timezone.html.erb +51 -0
  47. data/app/pb_kits/playbook/pb_date/docs/_date_timezone.md +6 -0
  48. data/app/pb_kits/playbook/pb_date/docs/_description.md +2 -0
  49. data/app/pb_kits/playbook/pb_date/docs/example.yml +1 -0
  50. data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +7 -4
  51. data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +0 -4
  52. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +3 -3
  53. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +8 -10
  54. data/app/pb_kits/playbook/pb_date_picker/docs/{_date_picker_read_only.html.erb → _date_picker_allow_input.html.erb} +1 -1
  55. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.jsx +13 -0
  56. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.md +1 -0
  57. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.jsx +34 -0
  58. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md +3 -0
  59. data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +3 -2
  60. data/app/pb_kits/playbook/pb_date_picker/docs/index.js +2 -1
  61. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_calendar_input_icon.scss +1 -0
  62. data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.jsx +5 -1
  63. data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.jsx +2 -2
  64. data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.jsx +5 -1
  65. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +2 -2
  66. data/app/pb_kits/playbook/pb_flex/_flex.jsx +2 -2
  67. data/app/pb_kits/playbook/pb_flex/_flex_item.jsx +1 -1
  68. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +6 -1
  69. data/app/pb_kits/playbook/pb_form_pill/_form_pill.jsx +3 -2
  70. data/app/pb_kits/playbook/pb_gauge/_gauge.jsx +1 -1
  71. data/app/pb_kits/playbook/pb_highlight/_highlight.jsx +1 -1
  72. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx +2 -2
  73. data/app/pb_kits/playbook/pb_icon/_icon.jsx +2 -2
  74. data/app/pb_kits/playbook/pb_icon_value/_icon_value.jsx +5 -1
  75. data/app/pb_kits/playbook/pb_image/_image.jsx +5 -1
  76. data/app/pb_kits/playbook/pb_label_pill/_label_pill.jsx +5 -1
  77. data/app/pb_kits/playbook/pb_layout/_layout.jsx +4 -4
  78. data/app/pb_kits/playbook/pb_line_graph/_line_graph.jsx +1 -1
  79. data/app/pb_kits/playbook/pb_list/_list.jsx +3 -2
  80. data/app/pb_kits/playbook/pb_list/_list_item.jsx +3 -2
  81. data/app/pb_kits/playbook/pb_logistic/_logistic.jsx +5 -1
  82. data/app/pb_kits/playbook/pb_message/_message.jsx +5 -1
  83. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx +5 -2
  84. data/app/pb_kits/playbook/pb_nav/_nav.jsx +2 -2
  85. data/app/pb_kits/playbook/pb_person/_person.jsx +5 -1
  86. data/app/pb_kits/playbook/pb_person_contact/_person_contact.jsx +5 -1
  87. data/app/pb_kits/playbook/pb_popover/_popover.jsx +5 -1
  88. data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.jsx +4 -4
  89. data/app/pb_kits/playbook/pb_progress_step/_progress_step.jsx +1 -1
  90. data/app/pb_kits/playbook/pb_radio/_radio.html.erb +1 -1
  91. data/app/pb_kits/playbook/pb_radio/docs/_radio_options.html.erb +9 -0
  92. data/app/pb_kits/playbook/pb_radio/docs/example.yml +1 -0
  93. data/app/pb_kits/playbook/pb_radio/radio.rb +2 -4
  94. data/app/pb_kits/playbook/pb_section_separator/_section_separator.jsx +1 -1
  95. data/app/pb_kits/playbook/pb_select/_select.scss +1 -1
  96. data/app/pb_kits/playbook/pb_stat_change/_stat_change.jsx +2 -2
  97. data/app/pb_kits/playbook/pb_stat_value/_stat_value.jsx +3 -3
  98. data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_default.jsx +6 -1
  99. data/app/pb_kits/playbook/pb_table/_table.jsx +2 -2
  100. data/app/pb_kits/playbook/pb_text_input/_text_input.jsx +1 -1
  101. data/app/pb_kits/playbook/pb_text_input/_text_input.scss +17 -8
  102. data/app/pb_kits/playbook/pb_textarea/_textarea.jsx +1 -1
  103. data/app/pb_kits/playbook/pb_time/_time.html.erb +23 -17
  104. data/app/pb_kits/playbook/pb_time/_time.jsx +22 -13
  105. data/app/pb_kits/playbook/pb_time/_time.scss +16 -8
  106. data/app/pb_kits/playbook/pb_time/docs/_time_align.html.erb +18 -0
  107. data/app/pb_kits/playbook/pb_time/docs/_time_align.jsx +3 -3
  108. data/app/pb_kits/playbook/pb_time/docs/_time_default.html.erb +47 -3
  109. data/app/pb_kits/playbook/pb_time/docs/_time_default.jsx +33 -4
  110. data/app/pb_kits/playbook/pb_time/docs/_time_sizes.html.erb +11 -0
  111. data/app/pb_kits/playbook/pb_time/docs/_time_sizes.jsx +19 -0
  112. data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.html.erb +3 -1
  113. data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.jsx +0 -7
  114. data/app/pb_kits/playbook/pb_time/docs/_time_timezone.html.erb +38 -0
  115. data/app/pb_kits/playbook/pb_time/docs/_time_timezone.jsx +12 -14
  116. data/app/pb_kits/playbook/pb_time/docs/example.yml +6 -2
  117. data/app/pb_kits/playbook/pb_time/docs/index.js +1 -0
  118. data/app/pb_kits/playbook/pb_time/time.rb +14 -2
  119. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.jsx +1 -1
  120. data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.jsx +3 -3
  121. data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +1 -1
  122. data/app/pb_kits/playbook/pb_title/_title.jsx +5 -1
  123. data/app/pb_kits/playbook/pb_title_count/_title_count.jsx +5 -1
  124. data/app/pb_kits/playbook/pb_title_detail/_title_detail.jsx +1 -1
  125. data/app/pb_kits/playbook/pb_toggle/_toggle.jsx +3 -3
  126. data/app/pb_kits/playbook/pb_toggle/_toggle.scss +41 -43
  127. data/app/pb_kits/playbook/pb_toggle/docs/example.yml +0 -2
  128. data/app/pb_kits/playbook/pb_toggle/docs/index.js +0 -1
  129. data/app/pb_kits/playbook/pb_toggle/toggle.rb +2 -2
  130. data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +60 -0
  131. data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +20 -3
  132. data/app/pb_kits/playbook/pb_typeahead/components/Control.jsx +30 -0
  133. data/app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.jsx +13 -0
  134. data/app/pb_kits/playbook/pb_typeahead/components/MenuList.jsx +12 -0
  135. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +51 -0
  136. data/app/pb_kits/playbook/pb_typeahead/components/Option.jsx +34 -0
  137. data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.jsx +13 -0
  138. data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.jsx +13 -0
  139. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx +22 -0
  140. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx +29 -0
  141. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx +84 -0
  142. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx +45 -0
  143. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx +101 -0
  144. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_summary.jsx +27 -0
  145. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +8 -2
  146. data/app/pb_kits/playbook/pb_typeahead/docs/index.js +4 -0
  147. data/app/pb_kits/playbook/pb_user_badge/_user_badge.jsx +5 -2
  148. data/app/pb_kits/playbook/plugins/pb_chart.js +1 -1
  149. data/app/pb_kits/playbook/tokens/_typography.scss +3 -3
  150. data/lib/generators/kit/templates/kit_jsx.erb.tt +1 -1
  151. data/lib/playbook/version.rb +1 -1
  152. metadata +50 -8
  153. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_read_only.jsx +0 -13
  154. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_read_only.md +0 -1
  155. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_size.html.erb +0 -11
  156. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_size.jsx +0 -44
@@ -26,8 +26,11 @@ const UserBadge = (props: UserBadgeProps) => {
26
26
  const image = require(`./badges/_${badge}.svg`)
27
27
  const ariaProps = buildAriaProps(aria)
28
28
  const dataProps = buildDataProps(data)
29
- const classes = classnames(buildCss('pb_user_badge_kit', size), globalProps(props),
30
- className)
29
+ const classes = classnames(
30
+ buildCss('pb_user_badge_kit', size),
31
+ globalProps(props),
32
+ className
33
+ )
31
34
 
32
35
  return (
33
36
  <div
@@ -33,7 +33,7 @@ const mapColors = (array) => {
33
33
 
34
34
  // Adjust Circle Chart Block Kit Dimensions to Match the Chart for Centering
35
35
  const alignBlockElement = (event) => {
36
- const itemToMove = document.querySelector(`#wrapper-circle-chart-${event.target.renderTo.id} .pb_circle_chart_block`)
36
+ const itemToMove = document.querySelector(`#wrapper-circle-chart-${event.target.renderTo.id} .pb-circle-chart-block`)
37
37
  const chartContainer = document.querySelector(`#${event.target.renderTo.id}`)
38
38
  if (itemToMove !== null) {
39
39
  itemToMove.style.height = `${event.target.chartHeight}px`
@@ -39,9 +39,9 @@ $heading_4: $font_base;
39
39
 
40
40
 
41
41
  // Letter Spacing
42
- $lspace_tightest: _.1em;
43
- $lspace_tighter: _.07em;
44
- $lspace_tight: _.03em;
42
+ $lspace_tightest: -.1em;
43
+ $lspace_tighter: -.07em;
44
+ $lspace_tight: -.03em;
45
45
  $lspace_normal: 0;
46
46
  $lspace_loose: .03em;
47
47
  $lspace_looser: .07em;
@@ -51,7 +51,7 @@ const <%= @kit_name_pascal %> = (props: <%= type_name %>) => {
51
51
 
52
52
  const ariaProps = buildAriaProps(aria)
53
53
  const dataProps = buildDataProps(data)
54
- const classes = classnames(buildCss('pb_<%= @kit_name_underscore %>'), className, globalProps(props))
54
+ const classes = classnames(buildCss('pb_<%= @kit_name_underscore %>'), globalProps(props), className)
55
55
 
56
56
  return (
57
57
  <div
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Playbook
3
- VERSION = "7.0.1-alpha12"
3
+ VERSION = "7.0.1-alpha14"
4
4
  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: 7.0.1.pre.alpha12
4
+ version: 7.0.1.pre.alpha14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-09-10 00:00:00.000000000 Z
12
+ date: 2020-10-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -464,6 +464,14 @@ 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_background/_background.html.erb
468
+ - app/pb_kits/playbook/pb_background/_background.jsx
469
+ - app/pb_kits/playbook/pb_background/_background.scss
470
+ - app/pb_kits/playbook/pb_background/background.rb
471
+ - app/pb_kits/playbook/pb_background/docs/_background_default.html.erb
472
+ - app/pb_kits/playbook/pb_background/docs/_background_default.jsx
473
+ - app/pb_kits/playbook/pb_background/docs/example.yml
474
+ - app/pb_kits/playbook/pb_background/docs/index.js
467
475
  - app/pb_kits/playbook/pb_badge/_badge.html.erb
468
476
  - app/pb_kits/playbook/pb_badge/_badge.jsx
469
477
  - app/pb_kits/playbook/pb_badge/_badge.scss
@@ -604,21 +612,33 @@ files:
604
612
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx
605
613
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.html.erb
606
614
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.jsx
615
+ - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb
607
616
  - app/pb_kits/playbook/pb_checkbox/docs/_description.md
608
617
  - app/pb_kits/playbook/pb_checkbox/docs/example.yml
609
618
  - app/pb_kits/playbook/pb_checkbox/docs/index.js
610
619
  - app/pb_kits/playbook/pb_circle_chart/_circle_chart.html.erb
620
+ - app/pb_kits/playbook/pb_circle_chart/_circle_chart.jsx
611
621
  - app/pb_kits/playbook/pb_circle_chart/_circle_chart.scss
612
622
  - app/pb_kits/playbook/pb_circle_chart/circle_chart.rb
613
623
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.html.erb
624
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx
614
625
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.html.erb
626
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx
615
627
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.html.erb
628
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx
616
629
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.html.erb
630
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx
631
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx
617
632
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.html.erb
633
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx
618
634
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
635
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
619
636
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.html.erb
637
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx
620
638
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.html.erb
639
+ - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
621
640
  - app/pb_kits/playbook/pb_circle_chart/docs/example.yml
641
+ - app/pb_kits/playbook/pb_circle_chart/docs/index.js
622
642
  - app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.html.erb
623
643
  - app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx
624
644
  - app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.scss
@@ -677,6 +697,8 @@ files:
677
697
  - app/pb_kits/playbook/pb_date/date.rb
678
698
  - app/pb_kits/playbook/pb_date/docs/_date_default.html.erb
679
699
  - app/pb_kits/playbook/pb_date/docs/_date_default.jsx
700
+ - app/pb_kits/playbook/pb_date/docs/_date_timezone.html.erb
701
+ - app/pb_kits/playbook/pb_date/docs/_date_timezone.md
680
702
  - app/pb_kits/playbook/pb_date/docs/_description.md
681
703
  - app/pb_kits/playbook/pb_date/docs/example.yml
682
704
  - app/pb_kits/playbook/pb_date/docs/index.js
@@ -685,6 +707,9 @@ files:
685
707
  - app/pb_kits/playbook/pb_date_picker/_date_picker.scss
686
708
  - app/pb_kits/playbook/pb_date_picker/date_picker.rb
687
709
  - app/pb_kits/playbook/pb_date_picker/date_picker_helper.js
710
+ - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.html.erb
711
+ - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.jsx
712
+ - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.md
688
713
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.html.erb
689
714
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.jsx
690
715
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.html.erb
@@ -711,11 +736,10 @@ files:
711
736
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.md
712
737
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.html.erb
713
738
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
739
+ - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.jsx
740
+ - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
714
741
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb
715
742
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx
716
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_read_only.html.erb
717
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_read_only.jsx
718
- - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_read_only.md
719
743
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.html.erb
720
744
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.jsx
721
745
  - app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.md
@@ -1373,6 +1397,7 @@ files:
1373
1397
  - app/pb_kits/playbook/pb_radio/docs/_radio_error.html.erb
1374
1398
  - app/pb_kits/playbook/pb_radio/docs/_radio_error.jsx
1375
1399
  - app/pb_kits/playbook/pb_radio/docs/_radio_error.md
1400
+ - app/pb_kits/playbook/pb_radio/docs/_radio_options.html.erb
1376
1401
  - app/pb_kits/playbook/pb_radio/docs/example.yml
1377
1402
  - app/pb_kits/playbook/pb_radio/docs/index.js
1378
1403
  - app/pb_kits/playbook/pb_radio/radio.rb
@@ -1590,12 +1615,16 @@ files:
1590
1615
  - app/pb_kits/playbook/pb_time/_time.scss
1591
1616
  - app/pb_kits/playbook/pb_time/docs/_description.md
1592
1617
  - app/pb_kits/playbook/pb_time/docs/_footer.md
1618
+ - app/pb_kits/playbook/pb_time/docs/_time_align.html.erb
1593
1619
  - app/pb_kits/playbook/pb_time/docs/_time_align.jsx
1594
1620
  - app/pb_kits/playbook/pb_time/docs/_time_default.html.erb
1595
1621
  - app/pb_kits/playbook/pb_time/docs/_time_default.jsx
1596
1622
  - app/pb_kits/playbook/pb_time/docs/_time_default.md
1623
+ - app/pb_kits/playbook/pb_time/docs/_time_sizes.html.erb
1624
+ - app/pb_kits/playbook/pb_time/docs/_time_sizes.jsx
1597
1625
  - app/pb_kits/playbook/pb_time/docs/_time_timestamp.html.erb
1598
1626
  - app/pb_kits/playbook/pb_time/docs/_time_timestamp.jsx
1627
+ - app/pb_kits/playbook/pb_time/docs/_time_timezone.html.erb
1599
1628
  - app/pb_kits/playbook/pb_time/docs/_time_timezone.jsx
1600
1629
  - app/pb_kits/playbook/pb_time/docs/_time_timezone.md
1601
1630
  - app/pb_kits/playbook/pb_time/docs/example.yml
@@ -1697,8 +1726,6 @@ files:
1697
1726
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_default.jsx
1698
1727
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_name.html.erb
1699
1728
  - app/pb_kits/playbook/pb_toggle/docs/_toggle_name.jsx
1700
- - app/pb_kits/playbook/pb_toggle/docs/_toggle_size.html.erb
1701
- - app/pb_kits/playbook/pb_toggle/docs/_toggle_size.jsx
1702
1729
  - app/pb_kits/playbook/pb_toggle/docs/example.yml
1703
1730
  - app/pb_kits/playbook/pb_toggle/docs/index.js
1704
1731
  - app/pb_kits/playbook/pb_toggle/toggle.rb
@@ -1710,12 +1737,27 @@ files:
1710
1737
  - app/pb_kits/playbook/pb_tooltip/index.js
1711
1738
  - app/pb_kits/playbook/pb_tooltip/tooltip.rb
1712
1739
  - app/pb_kits/playbook/pb_typeahead/_typeahead.html.erb
1740
+ - app/pb_kits/playbook/pb_typeahead/_typeahead.jsx
1713
1741
  - app/pb_kits/playbook/pb_typeahead/_typeahead.scss
1742
+ - app/pb_kits/playbook/pb_typeahead/components/Control.jsx
1743
+ - app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.jsx
1744
+ - app/pb_kits/playbook/pb_typeahead/components/MenuList.jsx
1745
+ - app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx
1746
+ - app/pb_kits/playbook/pb_typeahead/components/Option.jsx
1747
+ - app/pb_kits/playbook/pb_typeahead/components/Placeholder.jsx
1748
+ - app/pb_kits/playbook/pb_typeahead/components/ValueContainer.jsx
1714
1749
  - app/pb_kits/playbook/pb_typeahead/docs/_description.md
1715
1750
  - app/pb_kits/playbook/pb_typeahead/docs/_footer.md
1716
1751
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.html.erb
1752
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
1717
1753
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context_dark.html.erb
1754
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
1755
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx
1756
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
1757
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx
1758
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_summary.jsx
1718
1759
  - app/pb_kits/playbook/pb_typeahead/docs/example.yml
1760
+ - app/pb_kits/playbook/pb_typeahead/docs/index.js
1719
1761
  - app/pb_kits/playbook/pb_typeahead/index.js
1720
1762
  - app/pb_kits/playbook/pb_typeahead/typeahead.rb
1721
1763
  - app/pb_kits/playbook/pb_user/_user.html.erb
@@ -1879,7 +1921,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1879
1921
  - !ruby/object:Gem::Version
1880
1922
  version: 1.3.1
1881
1923
  requirements: []
1882
- rubygems_version: 3.1.2
1924
+ rubygems_version: 3.1.4
1883
1925
  signing_key:
1884
1926
  specification_version: 4
1885
1927
  summary: Playbook Design System
@@ -1,13 +0,0 @@
1
- import React from 'react'
2
- import { DatePicker } from '../../'
3
-
4
- const DatePickerReadOnly = () => (
5
- <div>
6
- <DatePicker
7
- pickerId="date-picker-read-only"
8
- readOnly
9
- />
10
- </div>
11
- )
12
-
13
- export default DatePickerReadOnly
@@ -1 +0,0 @@
1
- Read only inputs do not accept keyboard input. The only way to change the date value is by picking a date on the calendar. Especially useful on mobile as it prevents the keyboard from popping up and obscuring the date picker.
@@ -1,11 +0,0 @@
1
- <%= pb_rails("toggle", props: {
2
- size: "sm",
3
- checked: false
4
- }) %>
5
-
6
- <br>
7
-
8
- <%= pb_rails("toggle", props: {
9
- size: "md",
10
- checked: false
11
- }) %>
@@ -1,44 +0,0 @@
1
- // @flow
2
-
3
- import React, { useState } from 'react'
4
- import { Toggle } from '../..'
5
-
6
- const ToggleSize = () => {
7
- const [choice, setChoice] = useState(false)
8
-
9
- const handleOnChange = ({ target }) => {
10
- setChoice(target.value = !choice)
11
- }
12
-
13
- return (
14
- <>
15
- <Toggle
16
- checked={choice}
17
- size="sm"
18
- >
19
- <input
20
- name="toggleSmall"
21
- onChange={handleOnChange}
22
- type="checkbox"
23
- value="toggleSmall"
24
- />
25
- </Toggle>
26
-
27
- <br />
28
-
29
- <Toggle
30
- checked={choice}
31
- size="md"
32
- >
33
- <input
34
- name="toggleMedium"
35
- onChange={handleOnChange}
36
- type="checkbox"
37
- value="toggleMedium"
38
- />
39
- </Toggle>
40
- </>
41
- )
42
- }
43
-
44
- export default ToggleSize