contentoh-components-library 17.0.0 → 18.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "17.0.0",
3
+ "version": "18.0.0",
4
4
  "dependencies": {
5
5
  "@babel/runtime": "^7.17.2",
6
6
  "@storybook/addon-postcss": "^2.0.0",
@@ -12,6 +12,8 @@ export const Container = styled.div`
12
12
  position: fixed;
13
13
  background-color: rgba(59, 59, 59, 0.53);
14
14
  backdrop-filter: blur(4px);
15
+ top: 0;
16
+ left: 0;
15
17
  z-index: 100;
16
18
 
17
19
  .global-styles {
@@ -11,6 +11,9 @@ export const Container = styled.div`
11
11
  position: fixed;
12
12
  background-color: rgba(59, 59, 59, 0.53);
13
13
  backdrop-filter: blur(4px);
14
+ left: 0;
15
+ top: 0;
16
+ z-index: 100;
14
17
 
15
18
  .modal-container {
16
19
  display: flex;
@@ -453,7 +453,7 @@ export const RetailerProductEdition = ({
453
453
  } else {
454
454
  // setMainLoading(false);
455
455
  setMessage(
456
- "Completa los campos que solicita cada una de la imágenes o hay imágenes con el mismo tipo de toma.<br>Recuerda hay campos obligatorios y no podras avanzar si no estan completos."
456
+ "Completa los campos que solicita cada una de la imágenes o hay imágenes con el mismo tipo de toma.\nRecuerda hay campos obligatorios y no podras avanzar si no estan completos."
457
457
  );
458
458
  }
459
459
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -1146,11 +1146,9 @@ export const RetailerProductEdition = ({
1146
1146
  {message.length > 0 && (
1147
1147
  <GenericModal
1148
1148
  componentsArray={
1149
- componentsArray.length > 0 ? (
1150
- componentsArray
1151
- ) : (
1152
- <ScreenHeader text={message} />
1153
- )
1149
+ componentsArray.length > 0
1150
+ ? componentsArray
1151
+ : [<ScreenHeader key="1" text={message} />]
1154
1152
  }
1155
1153
  onClick={() => setMessage("")}
1156
1154
  />