playbook_ui 14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 → 14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274
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/_playbook.scss +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.html.erb +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.md +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/index.js +8 -53
- data/app/pb_kits/playbook/pb_advanced_table/table_body.rb +18 -23
- data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +0 -6
- data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.html.erb +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.rb +4 -6
- data/app/pb_kits/playbook/pb_button/button.html.erb +3 -2
- data/app/pb_kits/playbook/pb_checkbox/checkbox.html.erb +6 -1
- data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +6 -1
- data/app/pb_kits/playbook/pb_dropdown/dropdown.html.erb +12 -7
- data/app/pb_kits/playbook/pb_dropdown/dropdown_container.html.erb +14 -9
- data/app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb +11 -6
- data/app/pb_kits/playbook/pb_dropdown/dropdown_trigger.html.erb +14 -8
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +15 -24
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_accept.jsx +1 -3
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_custom_description.jsx +1 -4
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_max_size.jsx +1 -1
- data/app/pb_kits/playbook/pb_table/_table.tsx +1 -8
- data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_table/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_mask.jsx +0 -18
- data/app/pb_kits/playbook/pb_text_input/inputMask.ts +1 -22
- data/app/pb_kits/playbook/pb_text_input/text_input.test.js +0 -80
- data/app/pb_kits/playbook/pb_timeline/_timeline.scss +5 -6
- data/app/pb_kits/playbook/pb_timeline/_timeline.tsx +5 -5
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_gap.html.erb +5 -4
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_gap.jsx +4 -4
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_gap.md +1 -1
- data/app/pb_kits/playbook/pb_timeline/timeline.rb +6 -6
- data/app/pb_kits/playbook/utilities/globalPropNames.mjs +0 -1
- data/app/pb_kits/playbook/utilities/globalProps.ts +9 -18
- data/dist/chunks/_typeahead-gJLWiR0r.js +22 -0
- data/dist/chunks/_weekday_stacked-BT8jIMPK.js +45 -0
- data/dist/chunks/lazysizes-DHz07jlL.js +1 -0
- 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 -1
- data/lib/playbook/spacing.rb +0 -21
- data/lib/playbook/version.rb +1 -1
- metadata +5 -6
- data/app/pb_kits/playbook/utilities/_gap.scss +0 -29
- data/dist/chunks/_typeahead-C2iCBqxQ.js +0 -36
- data/dist/chunks/_weekday_stacked-CWnbnW7m.js +0 -45
- data/dist/chunks/lazysizes-B7xYodB-.js +0 -1
data/lib/playbook/classnames.rb
CHANGED
data/lib/playbook/spacing.rb
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
module Playbook
|
4
4
|
module Spacing
|
5
5
|
def self.included(base)
|
6
|
-
base.prop :gap
|
7
6
|
base.prop :margin
|
8
7
|
base.prop :margin_bottom
|
9
8
|
base.prop :margin_left
|
@@ -53,16 +52,6 @@ module Playbook
|
|
53
52
|
%w[0% xs sm md lg xl xxl 0 none 100%]
|
54
53
|
end
|
55
54
|
|
56
|
-
def gap_values
|
57
|
-
%w[none xxs xs sm md lg xl]
|
58
|
-
end
|
59
|
-
|
60
|
-
def gap_options
|
61
|
-
{
|
62
|
-
gap: "gap",
|
63
|
-
}
|
64
|
-
end
|
65
|
-
|
66
55
|
def spacing_options
|
67
56
|
{
|
68
57
|
margin: "m",
|
@@ -157,15 +146,5 @@ module Playbook
|
|
157
146
|
"width_#{filter_classname(width_value)}" if width_values.include? width_value
|
158
147
|
end.compact.join(" ")
|
159
148
|
end
|
160
|
-
|
161
|
-
def gap_props
|
162
|
-
selected_gap_props = gap_options.keys.select { |sk| try(sk) }
|
163
|
-
return nil unless selected_gap_props.present?
|
164
|
-
|
165
|
-
selected_gap_props.map do |k|
|
166
|
-
gap_value = send(k)
|
167
|
-
"gap_#{gap_value}" if gap_values.include? gap_value
|
168
|
-
end.compact.join(" ")
|
169
|
-
end
|
170
149
|
end
|
171
150
|
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: 14.10.0.pre.alpha.
|
4
|
+
version: 14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274
|
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: 2025-01-
|
12
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -3181,7 +3181,6 @@ files:
|
|
3181
3181
|
- app/pb_kits/playbook/utilities/_display.scss
|
3182
3182
|
- app/pb_kits/playbook/utilities/_flexbox.scss
|
3183
3183
|
- app/pb_kits/playbook/utilities/_focus.scss
|
3184
|
-
- app/pb_kits/playbook/utilities/_gap.scss
|
3185
3184
|
- app/pb_kits/playbook/utilities/_height.scss
|
3186
3185
|
- app/pb_kits/playbook/utilities/_hover.scss
|
3187
3186
|
- app/pb_kits/playbook/utilities/_line_height.scss
|
@@ -3235,9 +3234,9 @@ files:
|
|
3235
3234
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3236
3235
|
- app/pb_kits/playbook/utilities/text.ts
|
3237
3236
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3238
|
-
- dist/chunks/_typeahead-
|
3239
|
-
- dist/chunks/_weekday_stacked-
|
3240
|
-
- dist/chunks/lazysizes-
|
3237
|
+
- dist/chunks/_typeahead-gJLWiR0r.js
|
3238
|
+
- dist/chunks/_weekday_stacked-BT8jIMPK.js
|
3239
|
+
- dist/chunks/lazysizes-DHz07jlL.js
|
3241
3240
|
- dist/chunks/lib-B7sgJtGS.js
|
3242
3241
|
- dist/chunks/pb_form_validation-C5Cc0-1v.js
|
3243
3242
|
- dist/chunks/vendor.js
|
@@ -1,29 +0,0 @@
|
|
1
|
-
@import "spacing";
|
2
|
-
|
3
|
-
.gap_none {
|
4
|
-
gap: 0;
|
5
|
-
}
|
6
|
-
|
7
|
-
.gap_xxs {
|
8
|
-
gap: $space_xxs;
|
9
|
-
}
|
10
|
-
|
11
|
-
.gap_xs {
|
12
|
-
gap: $space_xs;
|
13
|
-
}
|
14
|
-
|
15
|
-
.gap_sm {
|
16
|
-
gap: $space_sm;
|
17
|
-
}
|
18
|
-
|
19
|
-
.gap_md {
|
20
|
-
gap: $space_md;
|
21
|
-
}
|
22
|
-
|
23
|
-
.gap_lg {
|
24
|
-
gap: $space_lg;
|
25
|
-
}
|
26
|
-
|
27
|
-
.gap_xl {
|
28
|
-
gap: $space_xl;
|
29
|
-
}
|