@patternfly/react-core 5.0.0-alpha.39 → 5.0.0-alpha.40
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/CHANGELOG.md +4 -0
- package/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/components/DatePicker/DatePicker.js +4 -2
- package/components/DatePicker/DatePicker.js.map +1 -1
- package/components/TimePicker/TimePicker.js +1 -1
- package/components/TimePicker/TimePicker.js.map +1 -1
- package/dist/esm/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/esm/components/DatePicker/DatePicker.js +4 -2
- package/dist/esm/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/components/TimePicker/TimePicker.js +1 -1
- package/dist/esm/components/TimePicker/TimePicker.js.map +1 -1
- package/dist/js/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/js/components/DatePicker/DatePicker.js +4 -2
- package/dist/js/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/js/components/TimePicker/TimePicker.js +1 -1
- package/dist/js/components/TimePicker/TimePicker.js.map +1 -1
- package/dist/styles/base-no-reset.css +17 -17
- package/dist/styles/base.css +17 -17
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +6 -6
- package/src/components/DatePicker/DatePicker.tsx +2 -1
- package/src/components/TimePicker/TimePicker.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.40",
|
|
4
4
|
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"subpaths": "node scripts/copySubpaths.js"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@patternfly/react-icons": "^5.0.0-alpha.
|
|
49
|
-
"@patternfly/react-styles": "^5.0.0-alpha.
|
|
50
|
-
"@patternfly/react-tokens": "^5.0.0-alpha.
|
|
48
|
+
"@patternfly/react-icons": "^5.0.0-alpha.6",
|
|
49
|
+
"@patternfly/react-styles": "^5.0.0-alpha.5",
|
|
50
|
+
"@patternfly/react-tokens": "^5.0.0-alpha.5",
|
|
51
51
|
"focus-trap": "6.9.2",
|
|
52
52
|
"react-dropzone": "^14.2.3",
|
|
53
53
|
"tslib": "^2.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@patternfly/patternfly": "5.0.0-alpha.
|
|
56
|
+
"@patternfly/patternfly": "5.0.0-alpha.33",
|
|
57
57
|
"@rollup/plugin-commonjs": "^24.0.0",
|
|
58
58
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
59
59
|
"@rollup/plugin-replace": "^5.0.2",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"react": "^17 || ^18",
|
|
71
71
|
"react-dom": "^17 || ^18"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "d783cc19e80a771ef14a16b9f2a3a71ce11e6225"
|
|
74
74
|
}
|
|
@@ -260,6 +260,7 @@ const DatePickerBase = (
|
|
|
260
260
|
/>
|
|
261
261
|
<button
|
|
262
262
|
ref={buttonRef}
|
|
263
|
+
// TODO: Removed style follow up work with issue #8457
|
|
263
264
|
className={css(buttonStyles.button, buttonStyles.modifiers.control)}
|
|
264
265
|
aria-label={buttonAriaLabel}
|
|
265
266
|
type="button"
|
|
@@ -272,7 +273,7 @@ const DatePickerBase = (
|
|
|
272
273
|
</div>
|
|
273
274
|
</Popover>
|
|
274
275
|
{helperText && <div className={styles.datePickerHelperText}>{helperText}</div>}
|
|
275
|
-
{errorText.trim() && <div className={css(styles.datePickerHelperText
|
|
276
|
+
{errorText.trim() && <div className={css(styles.datePickerHelperText)}>{errorText}</div>}
|
|
276
277
|
</div>
|
|
277
278
|
);
|
|
278
279
|
};
|
|
@@ -538,7 +538,7 @@ export class TimePicker extends React.Component<TimePickerProps, TimePickerState
|
|
|
538
538
|
</div>
|
|
539
539
|
</InputGroup>
|
|
540
540
|
{isInvalid && (
|
|
541
|
-
<div className={css(datePickerStyles.datePickerHelperText
|
|
541
|
+
<div className={css(datePickerStyles.datePickerHelperText)}>
|
|
542
542
|
{!isValidFormat ? invalidFormatErrorMessage : invalidMinMaxErrorMessage}
|
|
543
543
|
</div>
|
|
544
544
|
)}
|