@evoke-platform/ui-components 1.7.0-testing.4 → 1.7.0-testing.5

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.
@@ -79,7 +79,7 @@ export const FormComponentWrapper = (props) => {
79
79
  React.createElement(PrefixSuffix, { suffix: suffix, height: fieldHeight }))),
80
80
  React.createElement(Box, { sx: underFieldStyles },
81
81
  React.createElement(Box, { sx: { width: '100%', display: 'flex', justifyContent: 'space-between' } },
82
- errorMessage ? (React.createElement(Typography, { sx: { color: 'red', whiteSpace: 'normal', display: 'flex', alignItems: 'center' }, variant: "caption" },
82
+ errorMessage ? (React.createElement(Typography, { sx: { color: '#D3271B', whiteSpace: 'normal', display: 'flex', alignItems: 'center' }, variant: "caption" },
83
83
  React.createElement(ErrorRounded, { sx: { fontSize: '15px', paddingRight: '4px' } }),
84
84
  errorMessage)) : (React.createElement("span", null)),
85
85
  showCharCount && (React.createElement(Typography, { variant: "caption", sx: { color: '#999', whiteSpace: 'nowrap' } },
@@ -87,8 +87,8 @@ const FieldWrapper = (props) => {
87
87
  } },
88
88
  React.createElement(Box, { sx: { display: 'flex', flexDirection: 'column' } },
89
89
  errorMessage ? (React.createElement(Box, { display: 'flex', alignItems: 'center' },
90
- React.createElement(InfoRounded, { color: 'error', sx: { fontSize: '.75rem', marginRight: '3px' } }),
91
- React.createElement(Typography, { fontSize: '12px', color: 'error', sx: { lineHeight: '18px' } }, errorMessage))) : (React.createElement("span", null)),
90
+ React.createElement(InfoRounded, { sx: { fontSize: '.75rem', marginRight: '3px', color: '#D3271B' } }),
91
+ React.createElement(Typography, { fontSize: '12px', sx: { lineHeight: '18px', color: '#D3271B' } }, errorMessage))) : (React.createElement("span", null)),
92
92
  description && (React.createElement(Typography, { id: `${inputId}-description`, variant: "caption", sx: descriptionStyles }, description))),
93
93
  showCharCount && (React.createElement(Typography, { variant: "caption", sx: { color: '#999999', whiteSpace: 'nowrap' } },
94
94
  remainingChars ?? charCount,
@@ -113,6 +113,6 @@ export const Document = (props) => {
113
113
  React.createElement(DocumentList, { id: id, instance: instance, handleChange: handleChange, value: value, setSnackbarError: (type, message) => setSnackbarError({ message, type }), canUpdateProperty: canUpdateProperty && !!hasUpdatePermission }),
114
114
  React.createElement(Snackbar, { open: !!snackbarError?.message, handleClose: () => setSnackbarError(null), message: snackbarError?.message, error: snackbarError?.type === 'error' }),
115
115
  errors.length > 0 && (React.createElement(Box, { display: 'flex', alignItems: 'center' },
116
- React.createElement(InfoRounded, { color: 'error', sx: { fontSize: '.75rem', marginRight: '3px' } }),
117
- React.createElement(Typography, { fontSize: '12px', color: 'error', sx: { lineHeight: '18px' } }, errors.join('; ') + '.')))));
116
+ React.createElement(InfoRounded, { sx: { fontSize: '.75rem', marginRight: '3px', color: '#D3271B' } }),
117
+ React.createElement(Typography, { fontSize: '12px', color: '#D3271B', sx: { lineHeight: '18px' } }, errors.join('; ') + '.')))));
118
118
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/ui-components",
3
- "version": "1.7.0-testing.4",
3
+ "version": "1.7.0-testing.5",
4
4
  "description": "",
5
5
  "main": "dist/published/index.js",
6
6
  "module": "dist/published/index.js",