contentoh-components-library 21.1.50 → 21.1.53

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.
Files changed (25) hide show
  1. package/dist/components/atoms/GeneralInput/index.js +1 -0
  2. package/dist/components/molecules/HeaderTop/index.js +1 -4
  3. package/dist/components/molecules/RetailerSelector/index.js +0 -34
  4. package/dist/components/molecules/StatusAsignationInfo/index.js +2 -3
  5. package/dist/components/organisms/FullTabsMenu/index.js +2 -4
  6. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +46 -80
  7. package/dist/components/pages/ProviderProductEdition/index.js +21 -48
  8. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +35 -32
  9. package/dist/components/pages/RetailerProductEdition/index.js +8 -11
  10. package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
  11. package/package.json +1 -1
  12. package/src/components/atoms/StatusTag/index.js +12 -2
  13. package/src/components/atoms/StatusTag/styles.js +11 -11
  14. package/src/components/atoms/ValidationPanel/index.js +1 -1
  15. package/src/components/molecules/RetailerSelector/index.js +0 -1
  16. package/src/components/molecules/StatusAsignationInfo/index.js +1 -1
  17. package/src/components/organisms/FullProductNameHeader/index.js +1 -1
  18. package/src/components/organisms/FullTabsMenu/index.js +1 -1
  19. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +99 -115
  20. package/src/components/pages/ProviderProductEdition/index.js +183 -177
  21. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +31 -77
  22. package/src/components/pages/RetailerProductEdition/index.js +165 -140
  23. package/src/components/pages/RetailerProductEdition/styles.js +1 -1
  24. package/src/global-files/data.js +3 -4
  25. package/src/index.js +1 -0
@@ -195,19 +195,18 @@ export const fetchUsers = async (auth) => {
195
195
  export const getNewStatus = (statusArray) => {
196
196
  let lookupString = "";
197
197
  statusArray.forEach((element) => (lookupString += element + "/"));
198
+ if (lookupString.includes("RCA")) return "RCA";
198
199
  if (lookupString.includes("RC")) return "RC";
199
200
  if (lookupString.includes("RA")) return "RA";
200
201
  if (lookupString.includes("RP")) return "RP";
201
- if (lookupString.includes("RCA")) return "RCA";
202
+ if (lookupString.includes("ACA")) return "ACA";
202
203
  if (lookupString.includes("UNASSIGNED")) return "CA";
203
204
  if (lookupString.includes("CA")) return "CA";
204
205
  if (lookupString.includes("IE")) return "IE";
205
206
  if (lookupString.includes("AC")) return "AC";
206
207
  if (lookupString.includes("AA")) return "AA";
207
208
  if (lookupString.includes("AP")) return "AP";
208
- if (lookupString.includes("ACA")) return "ACA";
209
209
  if (lookupString.includes("R")) return "R";
210
210
  if (lookupString.includes("NA")) return "NA";
211
- console.log("Status not found");
212
- return "NA";
211
+ return new Error("Status not found");
213
212
  };
package/src/index.js CHANGED
@@ -65,6 +65,7 @@ export * from "./components/pages/CustomerLogin";
65
65
  export * from "./components/pages/CustomerType";
66
66
  export * from "./components/pages/EmailResetPassword";
67
67
  export * from "./components/pages/OnboardPlan";
68
+ export * from "./components/pages/RegistrationLoginFirstStep";
68
69
  export * from "./components/pages/RegistrationLoginSecondStep";
69
70
  export * from "./components/pages/RegistrationLoginThirdStep";
70
71
  export * from "./components/pages/RetailerProductEdition";