@patternfly/patternfly 5.0.0-alpha.52 → 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.
- package/components/Divider/divider.css +12 -12
- package/components/Masthead/masthead.css +12 -12
- package/components/Pagination/pagination.css +12 -12
- package/components/Tabs/tabs.css +24 -24
- package/components/Toolbar/toolbar.css +54 -54
- package/layouts/Flex/flex.css +60 -120
- package/layouts/Flex/flex.scss +1 -1
- package/package.json +1 -1
- package/patternfly-no-globals.css +174 -234
- package/patternfly.css +174 -234
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -9
|
@@ -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($
|
|
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:
|
|
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
|
|
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
|
}
|