summit-registration-lite 6.0.2 → 6.0.3-beta.1

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/dist/index.js CHANGED
@@ -2852,6 +2852,9 @@ const PaymentComponent = ({
2852
2852
  };
2853
2853
 
2854
2854
  /* harmony default export */ const payment = (PaymentComponent);
2855
+ ;// CONCATENATED MODULE: external "openstack-uicore-foundation/lib/components/inputs/company-input-v2"
2856
+ const company_input_v2_namespaceObject = require("openstack-uicore-foundation/lib/components/inputs/company-input-v2");
2857
+ var company_input_v2_default = /*#__PURE__*/__webpack_require__.n(company_input_v2_namespaceObject);
2855
2858
  // EXTERNAL MODULE: ./src/helpers/index.js + 1 modules
2856
2859
  var helpers = __webpack_require__(499);
2857
2860
  ;// CONCATENATED MODULE: ./src/components/personal-information/index.module.scss
@@ -2888,6 +2891,7 @@ function personal_information_defineProperty(obj, key, value) { if (key in obj)
2888
2891
 
2889
2892
 
2890
2893
 
2894
+
2891
2895
  const PersonalInfoComponent = ({
2892
2896
  isActive,
2893
2897
  changeForm,
@@ -3033,21 +3037,30 @@ const PersonalInfoComponent = ({
3033
3037
  }
3034
3038
  });
3035
3039
  const customStyles = {
3036
- control: provided => personal_information_objectSpread(personal_information_objectSpread({}, provided), {}, {
3037
- minHeight: '36px',
3038
- height: '36px'
3039
- }),
3040
- menuList: provided => personal_information_objectSpread(personal_information_objectSpread({}, provided), {}, {
3041
- maxHeight: '120px'
3042
- }),
3043
- placeholder: provided => personal_information_objectSpread(personal_information_objectSpread({}, provided), {}, {
3044
- fontSize: '12px',
3045
- textOverflow: 'ellipsis',
3046
- whiteSpace: 'nowrap',
3047
- overflow: 'hidden',
3048
- width: '95%',
3049
- paddingRight: '10px'
3050
- })
3040
+ height: 36,
3041
+ "& .MuiFormControl-root": {
3042
+ marginTop: 0,
3043
+ marginBottom: 0
3044
+ },
3045
+ "& .MuiOutlinedInput-root": {
3046
+ height: 36,
3047
+ boxSizing: "border-box"
3048
+ },
3049
+ "& .MuiOutlinedInput-input": {
3050
+ height: "100%",
3051
+ lineHeight: 36,
3052
+ boxSizing: "border-box"
3053
+ },
3054
+ "& .MuiOutlinedInput-input::placeholder": {
3055
+ fontSize: "14px"
3056
+ },
3057
+ "& .MuiAutocomplete-listbox": {
3058
+ maxHeight: 120
3059
+ },
3060
+ "& .MuiInputLabel-root:not(.MuiInputLabel-shrink)": {
3061
+ transform: "translate(12px, 10px)",
3062
+ fontSize: "14px"
3063
+ }
3051
3064
  };
3052
3065
  return /*#__PURE__*/external_react_default().createElement("div", {
3053
3066
  className: `${personal_information_index_module.outerWrapper} step-wrapper`
@@ -3129,21 +3142,19 @@ const PersonalInfoComponent = ({
3129
3142
  "data-testid": "email-error-invalid"
3130
3143
  }, "The email is invalid.")), showCompanyInput && /*#__PURE__*/external_react_default().createElement("div", {
3131
3144
  className: personal_information_index_module.fieldWrapper
3132
- }, /*#__PURE__*/external_react_default().createElement("div", null, /*#__PURE__*/external_react_default().createElement(components_namespaceObject.RegistrationCompanyInput, {
3145
+ }, /*#__PURE__*/external_react_default().createElement("div", null, /*#__PURE__*/external_react_default().createElement((company_input_v2_default()), {
3133
3146
  id: "reg-comp-input",
3134
3147
  name: "reg-comp-input",
3135
3148
  "data-testid": "company",
3136
- styles: customStyles,
3149
+ sx: customStyles,
3137
3150
  summitId: summitId,
3138
3151
  onChange: onCompanyChange,
3139
3152
  onError: handleCompanyError,
3140
3153
  value: personalInfo.company,
3141
3154
  placeholder: companyDDLPlaceholder,
3142
- isClearable: true,
3143
- defaultOptions: showCompanyInputDefaultOptions,
3144
- openMenuOnFocus: showCompanyInputDefaultOptions,
3145
- openMenuOnClick: showCompanyInputDefaultOptions,
3146
- options2Show: companyDDLOptions2Show
3155
+ options2Show: companyDDLOptions2Show,
3156
+ disableShrink: true,
3157
+ label: null
3147
3158
  }), companyError && /*#__PURE__*/external_react_default().createElement("div", {
3148
3159
  className: personal_information_index_module.fieldError,
3149
3160
  "data-testid": "company-error"