playbook_ui 14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 → 14.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4539

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) 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_currency/_currency.tsx +7 -3
  7. data/app/pb_kits/playbook/pb_currency/currency.html.erb +2 -2
  8. data/app/pb_kits/playbook/pb_currency/currency.rb +17 -1
  9. data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +0 -1
  10. data/app/pb_kits/playbook/pb_dropdown/dropdown_container.html.erb +1 -0
  11. data/app/pb_kits/playbook/pb_dropdown/dropdown_container.rb +4 -0
  12. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +2 -2
  13. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_loading.html.erb +1 -1
  14. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +12 -63
  15. data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_default.html.erb +1 -2
  16. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_children.html.erb +0 -47
  17. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_children.jsx +0 -59
  18. data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +0 -3
  19. data/app/pb_kits/playbook/pb_typeahead/index.ts +3 -29
  20. data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +2 -5
  21. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +0 -4
  22. data/app/pb_kits/playbook/utilities/_max_width.scss +0 -4
  23. data/app/pb_kits/playbook/utilities/_min_width.scss +1 -1
  24. data/app/pb_kits/playbook/utilities/globalPropNames.mjs +1 -0
  25. data/app/pb_kits/playbook/utilities/globalProps.ts +0 -24
  26. data/dist/chunks/_typeahead-D0PihN_3.js +22 -0
  27. data/dist/chunks/_weekday_stacked-CVx1CzK-.js +45 -0
  28. data/dist/chunks/{lib-SyD3buPZ.js → lib-BC6ESsxG.js} +1 -1
  29. data/dist/chunks/{pb_form_validation-Dt8UJgrJ.js → pb_form_validation-B_Z9rEbg.js} +1 -1
  30. data/dist/chunks/vendor.js +1 -1
  31. data/dist/menu.yml +0 -321
  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 -12
  41. data/app/pb_kits/playbook/tokens/_height.scss +0 -19
  42. data/app/pb_kits/playbook/tokens/exports/_height.module.scss +0 -37
  43. data/app/pb_kits/playbook/utilities/_height.scss +0 -33
  44. data/dist/chunks/_typeahead-q6dSnFmE.js +0 -22
  45. data/dist/chunks/_weekday_stacked-BF7UZO3j.js +0 -45
  46. data/lib/playbook/height.rb +0 -29
  47. data/lib/playbook/max_height.rb +0 -29
  48. 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