@patternfly/patternfly 5.0.0-alpha.51 → 5.0.0-alpha.53

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.
@@ -81,26 +81,23 @@
81
81
  @return $map;
82
82
  }
83
83
 
84
+
84
85
  // Build spacer map
85
86
  // Based on $pf-v5-global--spacer-map
86
- @function build-spacer-map($base: false, $map-items...) {
87
+ @function build-spacer-map($map-items...) {
87
88
  $map: ();
88
89
 
89
- @if $base {
90
- $map: map-merge($map, ("base": null));
91
- }
92
-
93
90
  @if length($map-items) == 0 {
94
- $map: map-merge($map, ("none": 0));
91
+ $map: ("none": 0);
95
92
  $map: map-merge($map, $pf-v5-global--spacer-map);
96
93
  $map: map-remove($map, "auto", "0");
97
94
  }
98
95
 
99
96
  @each $spacer in $map-items {
100
- @if $spacer == "none" {
101
- $map: map-merge($map, ($spacer: 0));
102
- } @else if not map-has-key($pf-v5-global--spacer-map, $spacer) {
97
+ @if not map-has-key($pf-v5-global--spacer-map, $spacer) and $spacer != "none" {
103
98
  $map: map-merge($map, ("invalid spacer #{$spacer}": null));
99
+ } @else if $spacer == "none" {
100
+ $map: map-merge($map, ($spacer: 0));
104
101
  } @else {
105
102
  $map: map-merge($map, ($spacer: map-get($pf-v5-global--spacer-map, #{$spacer})));
106
103
  }
@@ -129,9 +129,6 @@ $fa-font-path: "./assets/fonts/webfonts" !default;
129
129
  // FontIcon path
130
130
  $pf-v5-global--fonticon-path: "./assets/pficon" !default;
131
131
 
132
- // Imagepath
133
- $pf-v5-global--image-path: "./assets/images" !default;
134
-
135
132
  // Spacers
136
133
  $pf-v5-global--spacer--xs: pf-size-prem(4px) !default; // Orange
137
134
  $pf-v5-global--spacer--sm: pf-size-prem(8px) !default; // Light green
@@ -188,8 +185,8 @@ $pf-v5-global--BorderRadius--lg: 30em !default; // This is a sufficiently
188
185
  // Icons
189
186
  $pf-v5-global--icon--Color--light: $pf-v5-color-black-600 !default;
190
187
  $pf-v5-global--icon--Color--dark: $pf-v5-color-black-900 !default;
191
- $pf-v5-global--icon--FontSize--sm: pf-font-prem(10px) !default;
192
- $pf-v5-global--icon--FontSize--md: pf-font-prem(18px) !default;
188
+ $pf-v5-global--icon--FontSize--sm: pf-font-prem(12px) !default;
189
+ $pf-v5-global--icon--FontSize--md: pf-font-prem(16px) !default;
193
190
  $pf-v5-global--icon--FontSize--lg: pf-font-prem(24px) !default;
194
191
  $pf-v5-global--icon--FontSize--xl: pf-font-prem(54px) !default;
195
192