playbook_ui 13.11.1.pre.alpha.play900startratingasinput1530 → 13.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_collapsible/collapsible_content.rb +1 -3
  3. data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +0 -2
  4. data/app/pb_kits/playbook/pb_collapsible/index.js +0 -4
  5. data/app/pb_kits/playbook/pb_icon/docs/example.yml +0 -8
  6. data/app/pb_kits/playbook/pb_image/docs/example.yml +0 -5
  7. data/app/pb_kits/playbook/pb_label_value/docs/example.yml +0 -6
  8. data/app/pb_kits/playbook/pb_message/docs/example.yml +0 -4
  9. data/app/pb_kits/playbook/pb_star_rating/_star_rating.scss +49 -61
  10. data/app/pb_kits/playbook/pb_star_rating/_star_rating.tsx +54 -151
  11. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.html.erb +1 -11
  12. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +2 -17
  13. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.html.erb +1 -6
  14. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx +5 -22
  15. data/app/pb_kits/playbook/pb_star_rating/docs/example.yml +5 -10
  16. data/app/pb_kits/playbook/pb_star_rating/docs/index.js +0 -6
  17. data/app/pb_kits/playbook/pb_star_rating/star_rating.html.erb +15 -56
  18. data/app/pb_kits/playbook/pb_star_rating/star_rating.rb +6 -49
  19. data/app/pb_kits/playbook/pb_star_rating/star_rating.test.js +34 -33
  20. data/app/pb_kits/playbook/pb_table/docs/_table_header.html.erb +4 -4
  21. data/app/pb_kits/playbook/pb_table/styles/_hover.scss +2 -26
  22. data/app/pb_kits/playbook/pb_table/styles/_table-dark.scss +17 -1
  23. data/app/pb_kits/playbook/pb_table/table_header.html.erb +3 -4
  24. data/app/pb_kits/playbook/pb_table/table_header.rb +5 -28
  25. data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +9 -25
  26. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb +1 -1
  27. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx +2 -0
  28. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.jsx +1 -0
  29. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx +1 -0
  30. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.jsx +1 -0
  31. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_selectors.html.erb +1 -1
  32. data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +0 -3
  33. data/app/pb_kits/playbook/pb_tooltip/docs/index.js +0 -1
  34. data/app/pb_kits/playbook/pb_tooltip/index.js +0 -6
  35. data/app/pb_kits/playbook/pb_tooltip/tooltip.rb +1 -2
  36. data/app/pb_kits/playbook/pb_tooltip/tooltip.test.jsx +0 -34
  37. data/app/pb_kits/playbook/playbook-doc.js +1 -1
  38. data/dist/playbook-rails.js +5 -5
  39. data/lib/playbook/version.rb +2 -2
  40. metadata +7 -39
  41. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.html.erb +0 -22
  42. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.md +0 -3
  43. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.html.erb +0 -40
  44. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.md +0 -1
  45. data/app/pb_kits/playbook/pb_icon/docs/_icon_border_swift.md +0 -7
  46. data/app/pb_kits/playbook/pb_icon/docs/_icon_default_swift.md +0 -7
  47. data/app/pb_kits/playbook/pb_icon/docs/_icon_flip_swift.md +0 -11
  48. data/app/pb_kits/playbook/pb_icon/docs/_icon_props_swift.md +0 -8
  49. data/app/pb_kits/playbook/pb_icon/docs/_icon_rotate_swift.md +0 -11
  50. data/app/pb_kits/playbook/pb_icon/docs/_icon_sizes_swift.md +0 -46
  51. data/app/pb_kits/playbook/pb_image/docs/_image_props_swift.md +0 -7
  52. data/app/pb_kits/playbook/pb_image/docs/_rounded_image_swift.md +0 -47
  53. data/app/pb_kits/playbook/pb_image/docs/_size_image_swift.md +0 -47
  54. data/app/pb_kits/playbook/pb_image/docs/_size_none_image_swift.md +0 -15
  55. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_default_swift.md +0 -11
  56. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md +0 -72
  57. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_swift.md +0 -41
  58. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_props_swift.md +0 -11
  59. data/app/pb_kits/playbook/pb_message/docs/_message_default_swift.md +0 -57
  60. data/app/pb_kits/playbook/pb_message/docs/_message_props_swift.md +0 -12
  61. data/app/pb_kits/playbook/pb_star_rating/custom-icons.js +0 -356
  62. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.html.erb +0 -7
  63. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.jsx +0 -40
  64. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.html.erb +0 -12
  65. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.jsx +0 -57
  66. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.html.erb +0 -23
  67. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx +0 -59
  68. data/app/pb_kits/playbook/pb_star_rating/star.svg +0 -3
  69. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.html.erb +0 -39
  70. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.md +0 -5
  71. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.jsx +0 -45
  72. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.md +0 -3
@@ -92,39 +92,5 @@ test("has position fixed", async () => {
92
92
  cleanup();
93
93
  })
94
94
 
95
- cleanup();
96
- });
97
-
98
- test("display tooltip with showTooltip set to true", async () => {
99
- render(
100
- <Tooltip
101
- data={{ testid: "fixed-position-test" }}
102
- showTooltip
103
- />
104
- );
105
-
106
- fireEvent.mouseEnter(screen.getByRole("tooltip_trigger"));
107
- await waitFor(() => {
108
- expect(screen.queryByRole("tooltip")).toBeInTheDocument();
109
- cleanup();
110
- })
111
-
112
- cleanup();
113
- });
114
-
115
- test("doesn't display tooltip with showTooltip set to false", async () => {
116
- render(
117
- <Tooltip
118
- data={{ testid: "fixed-position-test" }}
119
- showTooltip={false}
120
- />
121
- );
122
-
123
- fireEvent.mouseEnter(screen.getByRole("tooltip_trigger"));
124
- await waitFor(() => {
125
- expect(screen.queryByRole("tooltip")).not.toBeInTheDocument();
126
- cleanup();
127
- })
128
-
129
95
  cleanup();
130
96
  });
@@ -104,7 +104,7 @@ import * as UserBadge from 'pb_user_badge/docs'
104
104
  import * as Walkthrough from 'pb_walkthrough/docs'
105
105
  import * as WeekdayStacked from 'pb_weekday_stacked/docs'
106
106
 
107
- WebpackerReact.registerComponents({
107
+ WebpackerReact.setup({
108
108
  ...Avatar,
109
109
  ...AvatarActionButton,
110
110
  ...Background,