playbook_ui 13.21.0.pre.alpha.PBNTR243globalpositioningpropinset2504 → 13.21.0.pre.alpha.PLAY12582514

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/table_body.rb +1 -1
  3. data/app/pb_kits/playbook/pb_avatar/avatar.rb +1 -1
  4. data/app/pb_kits/playbook/pb_bar_graph/bar_graph.rb +9 -9
  5. data/app/pb_kits/playbook/pb_button/button.rb +5 -5
  6. data/app/pb_kits/playbook/pb_circle_chart/circle_chart.rb +10 -10
  7. data/app/pb_kits/playbook/pb_currency/currency.rb +4 -4
  8. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +6 -6
  9. data/app/pb_kits/playbook/pb_distribution_bar/distribution_bar.rb +3 -3
  10. data/app/pb_kits/playbook/pb_docs/kit_example.rb +1 -1
  11. data/app/pb_kits/playbook/pb_form/form.rb +4 -4
  12. data/app/pb_kits/playbook/pb_gauge/gauge.rb +9 -9
  13. data/app/pb_kits/playbook/pb_home_address_street/home_address_street.rb +17 -17
  14. data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.rb +0 -2
  15. data/app/pb_kits/playbook/pb_line_graph/line_graph.rb +9 -9
  16. data/app/pb_kits/playbook/pb_list/list.rb +0 -2
  17. data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb +4 -4
  18. data/app/pb_kits/playbook/pb_passphrase/passphrase.rb +6 -6
  19. data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.rb +8 -8
  20. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.rb +8 -8
  21. data/app/pb_kits/playbook/pb_select/select.rb +6 -6
  22. data/app/pb_kits/playbook/pb_selectable_card/selectable_card.rb +1 -1
  23. data/app/pb_kits/playbook/pb_selectable_icon/selectable_icon.rb +1 -1
  24. data/app/pb_kits/playbook/pb_stat_value/stat_value.rb +1 -1
  25. data/app/pb_kits/playbook/pb_text_input/text_input.rb +7 -7
  26. data/app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb +6 -6
  27. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +8 -8
  28. data/app/pb_kits/playbook/utilities/_positioning.scss +10 -23
  29. data/app/pb_kits/playbook/utilities/globalProps.ts +9 -52
  30. data/dist/playbook-rails.js +1 -1
  31. data/lib/playbook/bottom.rb +3 -6
  32. data/lib/playbook/forms/builder/action_area.rb +2 -2
  33. data/lib/playbook/forms/builder/checkbox_field.rb +2 -2
  34. data/lib/playbook/forms/builder/collection_select_field.rb +1 -1
  35. data/lib/playbook/forms/builder/date_picker_field.rb +1 -1
  36. data/lib/playbook/forms/builder/form_field_builder.rb +1 -1
  37. data/lib/playbook/forms/builder/intl_telephone_field.rb +1 -1
  38. data/lib/playbook/forms/builder/multi_level_select_field.rb +1 -1
  39. data/lib/playbook/forms/builder/select_field.rb +1 -1
  40. data/lib/playbook/forms/builder/typeahead_field.rb +1 -1
  41. data/lib/playbook/kit_base.rb +2 -2
  42. data/lib/playbook/left.rb +3 -6
  43. data/lib/playbook/pb_doc_helper.rb +5 -5
  44. data/lib/playbook/pb_forms_helper.rb +1 -1
  45. data/lib/playbook/props/percentage.rb +2 -2
  46. data/lib/playbook/props.rb +1 -1
  47. data/lib/playbook/right.rb +3 -6
  48. data/lib/playbook/top.rb +3 -6
  49. data/lib/playbook/version.rb +1 -1
  50. metadata +15 -43
data/lib/playbook/top.rb CHANGED
@@ -24,12 +24,9 @@ module Playbook
24
24
 
25
25
  selected_props.map do |k|
26
26
  value = send(k)
27
- css = if value.is_a?(Hash) && value[:inset] && top_values.include?(value[:value])
28
- "top_#{value[:value]}_inset"
29
- elsif top_values.include?(value)
30
- "top_#{value}"
31
- end
32
- css
27
+ return nil unless top_values.include? value
28
+
29
+ "top_#{value}"
33
30
  end.compact.join(" ")
34
31
  end
35
32
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.21.0"
5
- VERSION = "13.21.0.pre.alpha.PBNTR243globalpositioningpropinset2504"
5
+ VERSION = "13.21.0.pre.alpha.PLAY12582514"
6
6
  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: 13.21.0.pre.alpha.PBNTR243globalpositioningpropinset2504
4
+ version: 13.21.0.pre.alpha.PLAY12582514
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -17,42 +17,42 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 5.2.4.5
20
+ version: 7.0.8
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 5.2.4.5
27
+ version: 7.0.8
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: actionview
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 5.2.4.5
34
+ version: 7.0.8
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 5.2.4.5
41
+ version: 7.0.8
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: activesupport
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: 5.2.4.5
48
+ version: 7.0.8
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 5.2.4.5
55
+ version: 7.0.8
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: react-rails
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -101,14 +101,14 @@ dependencies:
101
101
  requirements:
102
102
  - - '='
103
103
  - !ruby/object:Gem::Version
104
- version: 11.0.0
104
+ version: 11.1.3
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - '='
110
110
  - !ruby/object:Gem::Version
111
- version: 11.0.0
111
+ version: 11.1.3
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: github_changelog_generator
114
114
  requirement: !ruby/object:Gem::Requirement
@@ -129,14 +129,14 @@ dependencies:
129
129
  requirements:
130
130
  - - ">="
131
131
  - !ruby/object:Gem::Version
132
- version: 5.2.4.5
132
+ version: 7.0.8
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
- version: 5.2.4.5
139
+ version: 7.0.8
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: rspec-html-matchers
142
142
  requirement: !ruby/object:Gem::Requirement
@@ -175,16 +175,16 @@ dependencies:
175
175
  name: rubocop
176
176
  requirement: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - '='
178
+ - - ">="
179
179
  - !ruby/object:Gem::Version
180
- version: 1.23.0
180
+ version: '0'
181
181
  type: :development
182
182
  prerelease: false
183
183
  version_requirements: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - '='
185
+ - - ">="
186
186
  - !ruby/object:Gem::Version
187
- version: 1.23.0
187
+ version: '0'
188
188
  - !ruby/object:Gem::Dependency
189
189
  name: rubocop-performance
190
190
  requirement: !ruby/object:Gem::Requirement
@@ -199,34 +199,6 @@ dependencies:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
201
  version: 1.11.5
202
- - !ruby/object:Gem::Dependency
203
- name: spring
204
- requirement: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - '='
207
- - !ruby/object:Gem::Version
208
- version: 2.0.2
209
- type: :development
210
- prerelease: false
211
- version_requirements: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - '='
214
- - !ruby/object:Gem::Version
215
- version: 2.0.2
216
- - !ruby/object:Gem::Dependency
217
- name: spring-watcher-listen
218
- requirement: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - '='
221
- - !ruby/object:Gem::Version
222
- version: 2.0.1
223
- type: :development
224
- prerelease: false
225
- version_requirements: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - '='
228
- - !ruby/object:Gem::Version
229
- version: 2.0.1
230
202
  - !ruby/object:Gem::Dependency
231
203
  name: tzinfo-data
232
204
  requirement: !ruby/object:Gem::Requirement