@patternfly/patternfly 5.0.0-alpha.52 → 5.0.0-alpha.54
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/FormControl/form-control.css +164 -214
- package/components/FormControl/form-control.scss +175 -281
- package/components/FormControl/themes/dark/form-control.scss +1 -2
- package/components/Masthead/masthead.css +12 -12
- package/components/NumberInput/number-input.css +0 -1
- package/components/NumberInput/number-input.scss +0 -1
- package/components/Pagination/pagination.css +12 -12
- package/components/Tabs/tabs.css +24 -24
- package/components/Toolbar/toolbar.css +54 -54
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -28
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +52 -46
- package/docs/components/DatePicker/examples/DatePicker.md +55 -49
- package/docs/components/FileUpload/examples/FileUpload.md +105 -93
- package/docs/components/Form/examples/Form.md +165 -145
- package/docs/components/FormControl/examples/FormControl.md +439 -475
- package/docs/components/InlineEdit/examples/InlineEdit.md +87 -76
- package/docs/components/InputGroup/examples/InputGroup.md +84 -74
- package/docs/components/Login/examples/Login.md +92 -82
- package/docs/components/NumberInput/examples/NumberInput.md +99 -87
- package/docs/components/Pagination/examples/Pagination.md +100 -89
- package/docs/components/Select/examples/Select.md +77 -68
- package/docs/components/Slider/examples/Slider.md +31 -44
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +60 -52
- package/docs/components/Toolbar/examples/Toolbar.md +18 -16
- package/docs/components/Wizard/examples/Wizard.md +280 -245
- package/docs/demos/Alert/examples/Alert.md +69 -57
- package/docs/demos/Button/examples/Button.md +54 -48
- package/docs/demos/CardView/examples/CardView.md +9 -8
- package/docs/demos/DataList/examples/DataList.md +36 -32
- package/docs/demos/Form/examples/BasicForms.md +247 -227
- package/docs/demos/HelperText/examples/HelperText.md +37 -33
- package/docs/demos/Modal/examples/Modal.md +14 -21
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +11 -10
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -40
- package/docs/demos/Table/examples/Table.md +99 -88
- package/docs/demos/Toolbar/examples/Toolbar.md +28 -25
- package/docs/demos/Wizard/examples/Wizard.md +448 -392
- package/layouts/Flex/flex.css +60 -120
- package/layouts/Flex/flex.scss +1 -1
- package/package.json +3 -3
- package/patternfly-no-globals.css +335 -446
- package/patternfly.css +335 -446
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -9
- package/docs/components/FormControl/examples/FormControl.css +0 -5
|
@@ -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
|
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
#ws-core-c-form-control-input #input-custom-icon {
|
|
2
|
-
--pf-v5-c-form-control--m-icon--BackgroundSizeX: var(--pf-v5-global--icon--FontSize--lg);
|
|
3
|
-
--pf-v5-c-form-control--m-icon--BackgroundSizeY: var(--pf-v5-global--icon--FontSize--lg);
|
|
4
|
-
--pf-v5-c-form-control--m-icon--BackgroundUrl: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"%3E%3Cpath fill="%23a18fff" d="M158.87.15c-16.16-1.52-31.2 8.42-35.33 24.12l-14.81 56.27c187.62 5.49 314.54 130.61 322.48 317l56.94-15.78c15.72-4.36 25.49-19.68 23.62-35.9C490.89 165.08 340.78 17.32 158.87.15zm-58.47 112L.55 491.64a16.21 16.21 0 0 0 20 19.75l379-105.1c-4.27-174.89-123.08-292.14-299.15-294.1zM128 416a32 32 0 1 1 32-32 32 32 0 0 1-32 32zm48-152a32 32 0 1 1 32-32 32 32 0 0 1-32 32zm104 104a32 32 0 1 1 32-32 32 32 0 0 1-32 32z"/%3E%3C/svg%3E');
|
|
5
|
-
}
|