playbook_ui 14.10.0.pre.alpha.play1662cssbargraph5214 → 14.10.0.pre.alpha.play16825206

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,6 +16,7 @@ module Playbook
16
16
  width_props,
17
17
  min_width_props,
18
18
  max_width_props,
19
+ gap_props,
19
20
  z_index_props,
20
21
  number_spacing_props,
21
22
  shadow_props,
@@ -3,6 +3,7 @@
3
3
  module Playbook
4
4
  module Spacing
5
5
  def self.included(base)
6
+ base.prop :gap
6
7
  base.prop :margin
7
8
  base.prop :margin_bottom
8
9
  base.prop :margin_left
@@ -52,6 +53,16 @@ module Playbook
52
53
  %w[0% xs sm md lg xl xxl 0 none 100%]
53
54
  end
54
55
 
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
+
55
66
  def spacing_options
56
67
  {
57
68
  margin: "m",
@@ -146,5 +157,15 @@ module Playbook
146
157
  "width_#{filter_classname(width_value)}" if width_values.include? width_value
147
158
  end.compact.join(" ")
148
159
  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
149
170
  end
150
171
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.10.0"
5
- VERSION = "14.10.0.pre.alpha.play1662cssbargraph5214"
5
+ VERSION = "14.10.0.pre.alpha.play16825206"
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: 14.10.0.pre.alpha.play1662cssbargraph5214
4
+ version: 14.10.0.pre.alpha.play16825206
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -415,7 +415,6 @@ files:
415
415
  - app/pb_kits/playbook/pb_badge/docs/_description.md
416
416
  - app/pb_kits/playbook/pb_badge/docs/example.yml
417
417
  - app/pb_kits/playbook/pb_badge/docs/index.js
418
- - app/pb_kits/playbook/pb_bar_graph/BarGraphStyles.scss
419
418
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.scss
420
419
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx
421
420
  - app/pb_kits/playbook/pb_bar_graph/barGraph.test.js
@@ -3180,6 +3179,7 @@ files:
3180
3179
  - app/pb_kits/playbook/utilities/_display.scss
3181
3180
  - app/pb_kits/playbook/utilities/_flexbox.scss
3182
3181
  - app/pb_kits/playbook/utilities/_focus.scss
3182
+ - app/pb_kits/playbook/utilities/_gap.scss
3183
3183
  - app/pb_kits/playbook/utilities/_height.scss
3184
3184
  - app/pb_kits/playbook/utilities/_hover.scss
3185
3185
  - app/pb_kits/playbook/utilities/_line_height.scss
@@ -3233,8 +3233,8 @@ files:
3233
3233
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
3234
3234
  - app/pb_kits/playbook/utilities/text.ts
3235
3235
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3236
- - dist/chunks/_typeahead-gJLWiR0r.js
3237
- - dist/chunks/_weekday_stacked-7XLAG_Yz.js
3236
+ - dist/chunks/_typeahead-CbKUtXZa.js
3237
+ - dist/chunks/_weekday_stacked-CEpLoHbM.js
3238
3238
  - dist/chunks/lazysizes-B7xYodB-.js
3239
3239
  - dist/chunks/lib-B7sgJtGS.js
3240
3240
  - dist/chunks/pb_form_validation-C5Cc0-1v.js
@@ -1,60 +0,0 @@
1
- @import "../tokens/colors";
2
- @import "../tokens/typography";
3
- @import url("https://code.highcharts.com/css/highcharts.css");
4
- // @import "highcharts/css/highcharts";
5
- // @import "highcharts/highcharts.css";
6
-
7
- :root {
8
- --highcharts-color-0: #{$data_1};
9
- --highcharts-color-1: #{$data_2};
10
- --highcharts-color-2: #{$data_3};
11
- --highcharts-color-3: #{$data_4};
12
- --highcharts-color-4: #{$data_5};
13
- --highcharts-color-5: #{$data_6};
14
- --highcharts-color-6: #{$data_7};
15
- --highcharts-color-7: #{$data_8};
16
- }
17
-
18
- .highcharts-title {
19
- font-family: $font_family_base;
20
- font-weight: $bold;
21
- font-size: $heading_3;
22
- color: $text_lt_default;
23
- fill: $text_lt_default;
24
- }
25
-
26
- .highcharts-subtitle {
27
- font-family: $font_family_base;
28
- color: $text_lt_light;
29
- fill: $text_lt_light;
30
- font-weight: $regular;
31
- font-size: $text_base;
32
- }
33
-
34
- .highcharts-yaxis > .highcharts-axis-title {
35
- color: $text_lt_lighter;
36
- fill: $text_lt_lighter;
37
- font-family: $font_family_base;
38
- font-weight: $bold;
39
- font-size: $text_smaller;
40
- }
41
-
42
- .highcharts-axis-labels {
43
- font-family: $font_family_base;
44
- color: $text_lt_lighter;
45
- fill: $text_lt_lighter;
46
- font-weight: $bold;
47
- font-size: $text_smaller;
48
- }
49
-
50
- .highcharts-grid-line {
51
- stroke: $border_light;
52
- }
53
-
54
- .highcharts-point {
55
- border-radius: 3px;
56
- }
57
-
58
- .highcharts-axis-line {
59
- stroke: $border_light;
60
- }