playbook_ui 14.8.0.pre.alpha.PBNTR713dropdowncustomtriggerbug4696 → 14.8.0.pre.alpha.PLAY1598floatinguiupgrade4563

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +0 -1
  3. data/app/pb_kits/playbook/pb_checkbox/checkbox.html.erb +2 -2
  4. data/app/pb_kits/playbook/pb_checkbox/checkbox.rb +4 -0
  5. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb +7 -84
  6. data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +0 -1
  7. data/app/pb_kits/playbook/pb_dropdown/dropdown_container.html.erb +1 -0
  8. data/app/pb_kits/playbook/pb_dropdown/dropdown_container.rb +4 -0
  9. data/app/pb_kits/playbook/pb_dropdown/utilities/subComponentHelper.tsx +2 -13
  10. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +2 -2
  11. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_loading.html.erb +1 -1
  12. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +12 -63
  13. data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_default.html.erb +1 -2
  14. data/app/pb_kits/playbook/pb_table/_table.tsx +24 -103
  15. data/app/pb_kits/playbook/pb_table/docs/index.js +0 -1
  16. data/app/pb_kits/playbook/pb_table/styles/_all.scss +0 -2
  17. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_children.html.erb +0 -47
  18. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_children.jsx +0 -59
  19. data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +0 -3
  20. data/app/pb_kits/playbook/pb_typeahead/index.ts +3 -29
  21. data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +2 -5
  22. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +0 -4
  23. data/app/pb_kits/playbook/utilities/_max_width.scss +0 -4
  24. data/app/pb_kits/playbook/utilities/_min_width.scss +1 -1
  25. data/app/pb_kits/playbook/utilities/globalPropNames.mjs +1 -0
  26. data/app/pb_kits/playbook/utilities/globalProps.ts +0 -24
  27. data/dist/chunks/_typeahead-DUfnbpvK.js +22 -0
  28. data/dist/chunks/_weekday_stacked-CFiZk2PV.js +45 -0
  29. data/dist/chunks/{lib-SyD3buPZ.js → lib-BC6ESsxG.js} +1 -1
  30. data/dist/chunks/{pb_form_validation-Dt8UJgrJ.js → pb_form_validation-B_Z9rEbg.js} +1 -1
  31. data/dist/chunks/vendor.js +1 -1
  32. data/dist/playbook-doc.js +1 -1
  33. data/dist/playbook-rails-react-bindings.js +1 -1
  34. data/dist/playbook-rails.js +1 -1
  35. data/dist/playbook.css +1 -1
  36. data/lib/playbook/classnames.rb +0 -3
  37. data/lib/playbook/forms/builder/typeahead_field.rb +0 -13
  38. data/lib/playbook/kit_base.rb +1 -16
  39. data/lib/playbook/version.rb +1 -1
  40. metadata +6 -16
  41. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.jsx +0 -87
  42. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_react.md +0 -2
  43. data/app/pb_kits/playbook/pb_table/styles/_scroll.scss +0 -4
  44. data/app/pb_kits/playbook/pb_table/styles/_sticky_columns.scss +0 -18
  45. data/app/pb_kits/playbook/tokens/_height.scss +0 -19
  46. data/app/pb_kits/playbook/tokens/exports/_height.module.scss +0 -37
  47. data/app/pb_kits/playbook/utilities/_height.scss +0 -33
  48. data/dist/chunks/_typeahead-C8Q_fFYF.js +0 -22
  49. data/dist/chunks/_weekday_stacked-CUJfwh5E.js +0 -45
  50. data/lib/playbook/height.rb +0 -29
  51. data/lib/playbook/max_height.rb +0 -29
  52. data/lib/playbook/min_height.rb +0 -29
@@ -1,29 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Playbook
4
- module Height
5
- def self.included(base)
6
- base.prop :height
7
- end
8
-
9
- def height_props
10
- selected_props = height_options.keys.select { |sk| try(sk) }
11
- return nil unless selected_props.present?
12
-
13
- selected_props.map do |k|
14
- height_value = send(k)
15
- "height_#{height_value}" if height_values.include? height_value.to_s
16
- end.compact.join(" ")
17
- end
18
-
19
- def height_options
20
- {
21
- height: "height",
22
- }
23
- end
24
-
25
- def height_values
26
- %w[auto xs sm md lg xl xxl xxxl]
27
- end
28
- end
29
- end
@@ -1,29 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Playbook
4
- module MaxHeight
5
- def self.included(base)
6
- base.prop :max_height
7
- end
8
-
9
- def max_height_props
10
- selected_props = max_height_options.keys.select { |sk| try(sk) }
11
- return nil unless selected_props.present?
12
-
13
- selected_props.map do |k|
14
- max_height_value = send(k)
15
- "max_height_#{max_height_value}" if max_height_values.include? max_height_value.to_s
16
- end.compact.join(" ")
17
- end
18
-
19
- def max_height_options
20
- {
21
- max_height: "max_height",
22
- }
23
- end
24
-
25
- def max_height_values
26
- %w[auto xs sm md lg xl xxl xxxl]
27
- end
28
- end
29
- end
@@ -1,29 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Playbook
4
- module MinHeight
5
- def self.included(base)
6
- base.prop :min_height
7
- end
8
-
9
- def min_height_props
10
- selected_props = min_height_options.keys.select { |sk| try(sk) }
11
- return nil unless selected_props.present?
12
-
13
- selected_props.map do |k|
14
- min_height_value = send(k)
15
- "min_height_#{min_height_value}" if min_height_values.include? min_height_value.to_s
16
- end.compact.join(" ")
17
- end
18
-
19
- def min_height_options
20
- {
21
- min_height: "min_height",
22
- }
23
- end
24
-
25
- def min_height_values
26
- %w[auto xs sm md lg xl xxl xxxl]
27
- end
28
- end
29
- end