playbook_ui 13.21.0.pre.alpha.PBNTR243globalpositioningpropinset2504 → 13.21.0.pre.alpha.PLAY12582474
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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +2 -1
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +0 -3
- data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +1 -2
- data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +1 -2
- data/app/pb_kits/playbook/pb_date_picker/date_picker.test.js +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_input_styles.scss +2 -1
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +1 -0
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +1 -5
- data/app/pb_kits/playbook/pb_text_input/text_input.rb +1 -2
- data/app/pb_kits/playbook/pb_text_input/text_input.test.js +1 -1
- data/app/pb_kits/playbook/utilities/_positioning.scss +10 -23
- data/app/pb_kits/playbook/utilities/globalProps.ts +9 -52
- data/dist/playbook-rails.js +2 -2
- data/lib/playbook/bottom.rb +3 -6
- data/lib/playbook/left.rb +3 -6
- data/lib/playbook/right.rb +3 -6
- data/lib/playbook/top.rb +3 -6
- data/lib/playbook/version.rb +1 -1
- metadata +12 -14
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_margin_bottom.html.erb +0 -7
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_margin_bottom.jsx +0 -41
data/lib/playbook/bottom.rb
CHANGED
@@ -24,12 +24,9 @@ module Playbook
|
|
24
24
|
|
25
25
|
selected_props.map do |k|
|
26
26
|
value = send(k)
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
"bottom_#{value}"
|
31
|
-
end
|
32
|
-
css
|
27
|
+
return nil unless bottom_values.include? value
|
28
|
+
|
29
|
+
"bottom_#{value}"
|
33
30
|
end.compact.join(" ")
|
34
31
|
end
|
35
32
|
end
|
data/lib/playbook/left.rb
CHANGED
@@ -24,12 +24,9 @@ module Playbook
|
|
24
24
|
|
25
25
|
selected_props.map do |k|
|
26
26
|
value = send(k)
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
"left_#{value}"
|
31
|
-
end
|
32
|
-
css
|
27
|
+
return nil unless left_values.include? value
|
28
|
+
|
29
|
+
"left_#{value}"
|
33
30
|
end.compact.join(" ")
|
34
31
|
end
|
35
32
|
end
|
data/lib/playbook/right.rb
CHANGED
@@ -24,12 +24,9 @@ module Playbook
|
|
24
24
|
|
25
25
|
selected_props.map do |k|
|
26
26
|
value = send(k)
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
"right_#{value}"
|
31
|
-
end
|
32
|
-
css
|
27
|
+
return nil unless right_values.include? value
|
28
|
+
|
29
|
+
"right_#{value}"
|
33
30
|
end.compact.join(" ")
|
34
31
|
end
|
35
32
|
end
|
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
|
-
|
28
|
-
|
29
|
-
|
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
|
data/lib/playbook/version.rb
CHANGED
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.
|
4
|
+
version: 13.21.0.pre.alpha.PLAY12582474
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-03-
|
12
|
+
date: 2024-03-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -17,42 +17,42 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 6.1.7.7
|
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:
|
27
|
+
version: 6.1.7.7
|
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:
|
34
|
+
version: 6.1.7.7
|
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:
|
41
|
+
version: 6.1.7.7
|
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:
|
48
|
+
version: 6.1.7.7
|
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:
|
55
|
+
version: 6.1.7.7
|
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.
|
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.
|
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:
|
132
|
+
version: 6.1.7.7
|
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:
|
139
|
+
version: 6.1.7.7
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
141
|
name: rspec-html-matchers
|
142
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -832,8 +832,6 @@ files:
|
|
832
832
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.html.erb
|
833
833
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.jsx
|
834
834
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.md
|
835
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_margin_bottom.html.erb
|
836
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_margin_bottom.jsx
|
837
835
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.html.erb
|
838
836
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
|
839
837
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_month_and_year.html.erb
|
@@ -1,7 +0,0 @@
|
|
1
|
-
|
2
|
-
<%= pb_rails("date_picker", props: { picker_id: "date-picker-none", margin_bottom: "none"}) %>
|
3
|
-
<%= pb_rails("date_picker", props: { picker_id: "date-picker-xs", margin_bottom: "xs"}) %>
|
4
|
-
<%= pb_rails("date_picker", props: { picker_id: "date-picker-sm", margin_bottom: "sm"}) %>
|
5
|
-
<%= pb_rails("date_picker", props: { picker_id: "date-picker-md", margin_bottom: "md"}) %>
|
6
|
-
<%= pb_rails("date_picker", props: { picker_id: "date-picker-lg", margin_bottom: "lg"}) %>
|
7
|
-
<%= pb_rails("date_picker", props: { picker_id: "date-picker-xl", margin_bottom: "xl"}) %>
|
@@ -1,41 +0,0 @@
|
|
1
|
-
|
2
|
-
import React from 'react'
|
3
|
-
|
4
|
-
import DatePicker from '../_date_picker'
|
5
|
-
|
6
|
-
const DatePickerMarginBottom = (props) => (
|
7
|
-
<div>
|
8
|
-
<DatePicker
|
9
|
-
marginBottom="none"
|
10
|
-
pickerId="date-picker-none"
|
11
|
-
{...props}
|
12
|
-
/>
|
13
|
-
<DatePicker
|
14
|
-
marginBottom="xs"
|
15
|
-
pickerId="date-picker-xs"
|
16
|
-
{...props}
|
17
|
-
/>
|
18
|
-
<DatePicker
|
19
|
-
marginBottom="sm"
|
20
|
-
pickerId="date-picker-sm"
|
21
|
-
{...props}
|
22
|
-
/>
|
23
|
-
<DatePicker
|
24
|
-
marginBottom="md"
|
25
|
-
pickerId="date-picker-md"
|
26
|
-
{...props}
|
27
|
-
/>
|
28
|
-
<DatePicker
|
29
|
-
marginBottom="lg"
|
30
|
-
pickerId="date-picker-lg"
|
31
|
-
{...props}
|
32
|
-
/>
|
33
|
-
<DatePicker
|
34
|
-
marginBottom="xl"
|
35
|
-
pickerId="date-picker-xl"
|
36
|
-
{...props}
|
37
|
-
/>
|
38
|
-
</div>
|
39
|
-
)
|
40
|
-
|
41
|
-
export default DatePickerMarginBottom
|