@rh-support/manage 2.1.55 → 2.1.56

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.
@@ -106,16 +106,16 @@ export const NotificationEmailsModal = (props) => {
106
106
  ] },
107
107
  React.createElement(Form, null,
108
108
  React.createElement(FormGroup, { label: t('Email address'), isRequired: true, fieldId: "email-notification-first-emailaddress" },
109
+ React.createElement(TextInput, { value: email, isRequired: true, type: "text", onChange: (_event, localemail) => onEmailChange(localemail), "aria-label": t('Email address'), placeholder: t('Email address'), maxLength: 254, validated: isValidEmail && !isEmailDuplicate ? ValidatedOptions.default : ValidatedOptions.error, isDisabled: !props.isAddingNotificationEmail }),
109
110
  !(isValidEmail && !isEmailDuplicate) && (React.createElement(FormHelperText, null,
110
111
  React.createElement(HelperText, null,
111
- React.createElement(HelperTextItem, { variant: ValidatedOptions.error }, !isValidEmail ? t('Invalid email') : isEmailDuplicate ? t('Duplicate Email') : '')))),
112
- React.createElement(TextInput, { value: email, isRequired: true, type: "text", onChange: (_event, localemail) => onEmailChange(localemail), "aria-label": t('Email address'), placeholder: t('Email address'), maxLength: 254, validated: isValidEmail && !isEmailDuplicate ? ValidatedOptions.default : ValidatedOptions.error, isDisabled: !props.isAddingNotificationEmail })),
112
+ React.createElement(HelperTextItem, { variant: ValidatedOptions.error }, !isValidEmail ? t('Invalid email') : isEmailDuplicate ? t('Duplicate Email') : ''))))),
113
113
  React.createElement(FormGroup, { label: t('First name'), isRequired: true, fieldId: "email-notification-first-name" },
114
+ React.createElement(TextInput, { value: firstName, isRequired: true, validated: isValidFirstName ? ValidatedOptions.default : ValidatedOptions.error, type: "text", onChange: (_event, firstName) => onFirstNameChange(firstName), "aria-label": t('First name'), placeholder: t('First name'), maxLength: 254 }),
114
115
  !(isValidEmail && !isEmailDuplicate) && (React.createElement(FormHelperText, null,
115
116
  React.createElement(HelperText, null,
116
117
  React.createElement(HelperTextItem, { variant: ValidatedOptions.error },
117
- React.createElement(Trans, null, "First name cannot be empty"))))),
118
- React.createElement(TextInput, { value: firstName, isRequired: true, validated: isValidFirstName ? ValidatedOptions.default : ValidatedOptions.error, type: "text", onChange: (_event, firstName) => onFirstNameChange(firstName), "aria-label": t('First name'), placeholder: t('First name'), maxLength: 254 })),
118
+ React.createElement(Trans, null, "First name cannot be empty")))))),
119
119
  React.createElement(FormGroup, { label: t('Last name'), fieldId: "email-notification-last-name" },
120
120
  React.createElement(TextInput, { value: lastName, type: "text", onChange: (_event, lastName) => onLastNameChange(lastName), "aria-label": t('Last name'), placeholder: t('Last name'), maxLength: 254 })))));
121
121
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/manage",
3
- "version": "2.1.55",
3
+ "version": "2.1.56",
4
4
  "description": "Customer Support Manage App",
5
5
  "author": "Jordan Eudy <jeudy100@gmail.com>",
6
6
  "homepage": "",
@@ -79,9 +79,9 @@
79
79
  "@patternfly/patternfly": "5.1.0",
80
80
  "@patternfly/react-core": "5.1.1",
81
81
  "@patternfly/react-table": "5.1.1",
82
- "@rh-support/components": "2.1.41",
82
+ "@rh-support/components": "2.1.42",
83
83
  "@rh-support/configs": "2.0.16",
84
- "@rh-support/react-context": "2.1.44",
84
+ "@rh-support/react-context": "2.1.45",
85
85
  "@rh-support/types": "2.0.3",
86
86
  "@rh-support/user-permissions": "2.1.30",
87
87
  "@rh-support/utils": "2.1.22",
@@ -101,5 +101,5 @@
101
101
  "defaults and supports es6-module",
102
102
  "maintained node versions"
103
103
  ],
104
- "gitHead": "1507b066b04853fb74cbd1fcac022dbcc94c0ec3"
104
+ "gitHead": "52dfee356aaccf62387bc8c9119bee456521ddd8"
105
105
  }