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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/_playbook.scss +0 -1
- data/app/pb_kits/playbook/pb_checkbox/checkbox.html.erb +2 -2
- data/app/pb_kits/playbook/pb_checkbox/checkbox.rb +4 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb +7 -84
- data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +0 -1
- data/app/pb_kits/playbook/pb_dropdown/dropdown_container.html.erb +1 -0
- data/app/pb_kits/playbook/pb_dropdown/dropdown_container.rb +4 -0
- data/app/pb_kits/playbook/pb_dropdown/utilities/subComponentHelper.tsx +2 -13
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +2 -2
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_loading.html.erb +1 -1
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +12 -63
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_default.html.erb +1 -2
- data/app/pb_kits/playbook/pb_table/_table.tsx +24 -103
- data/app/pb_kits/playbook/pb_table/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_table/styles/_all.scss +0 -2
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_children.html.erb +0 -47
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_children.jsx +0 -59
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +0 -3
- data/app/pb_kits/playbook/pb_typeahead/index.ts +3 -29
- data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +2 -5
- data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +0 -4
- data/app/pb_kits/playbook/utilities/_max_width.scss +0 -4
- data/app/pb_kits/playbook/utilities/_min_width.scss +1 -1
- data/app/pb_kits/playbook/utilities/globalPropNames.mjs +1 -0
- data/app/pb_kits/playbook/utilities/globalProps.ts +0 -24
- data/dist/chunks/_typeahead-DUfnbpvK.js +22 -0
- data/dist/chunks/_weekday_stacked-CFiZk2PV.js +45 -0
- data/dist/chunks/{lib-SyD3buPZ.js → lib-BC6ESsxG.js} +1 -1
- data/dist/chunks/{pb_form_validation-Dt8UJgrJ.js → pb_form_validation-B_Z9rEbg.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/classnames.rb +0 -3
- data/lib/playbook/forms/builder/typeahead_field.rb +0 -13
- data/lib/playbook/kit_base.rb +1 -16
- data/lib/playbook/version.rb +1 -1
- metadata +6 -16
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.jsx +0 -87
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_react.md +0 -2
- data/app/pb_kits/playbook/pb_table/styles/_scroll.scss +0 -4
- data/app/pb_kits/playbook/pb_table/styles/_sticky_columns.scss +0 -18
- data/app/pb_kits/playbook/tokens/_height.scss +0 -19
- data/app/pb_kits/playbook/tokens/exports/_height.module.scss +0 -37
- data/app/pb_kits/playbook/utilities/_height.scss +0 -33
- data/dist/chunks/_typeahead-C8Q_fFYF.js +0 -22
- data/dist/chunks/_weekday_stacked-CUJfwh5E.js +0 -45
- data/lib/playbook/height.rb +0 -29
- data/lib/playbook/max_height.rb +0 -29
- data/lib/playbook/min_height.rb +0 -29
data/lib/playbook/height.rb
DELETED
@@ -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
|
data/lib/playbook/max_height.rb
DELETED
@@ -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
|
data/lib/playbook/min_height.rb
DELETED
@@ -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
|