contentoh-components-library 21.0.62 → 21.0.65

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.
@@ -0,0 +1,100 @@
1
+ import styled from "styled-components";
2
+
3
+ export const Container = styled.div`
4
+ display: flex;
5
+ flex-direction: column;
6
+ height: 100%;
7
+ flex: 1;
8
+ overflow: auto;
9
+
10
+ .data-container {
11
+ display: flex;
12
+ flex: 0%;
13
+ height: calc(100% - ${({ headerTop }) => headerTop}px);
14
+ .image-data-panel {
15
+ width: 340px;
16
+
17
+ & + * {
18
+ margin-left: 10px;
19
+ }
20
+ }
21
+
22
+ .product-information {
23
+ width: 100%;
24
+ display: flex;
25
+ flex-direction: column;
26
+
27
+ .services-information-container {
28
+ height: 100%;
29
+ overflow: auto;
30
+ }
31
+
32
+ .image-services {
33
+ aside {
34
+ display: grid;
35
+ grid-template-columns: repeat(auto-fill, 179px);
36
+ column-gap: 15px;
37
+ row-gap: 15px;
38
+ padding: 20px;
39
+ }
40
+ }
41
+
42
+ .commentary-box {
43
+ display: flex;
44
+ justify-content: space-between;
45
+ align-items: flex-end;
46
+ padding: 10px;
47
+ padding-left: 0;
48
+
49
+ .commentary {
50
+ display: flex;
51
+ align-items: flex-end;
52
+
53
+ .input-container {
54
+ width: 500px;
55
+
56
+ .quill {
57
+ height: 100px;
58
+ }
59
+
60
+ & + * {
61
+ margin-left: 5px;
62
+ }
63
+ }
64
+
65
+ .buttons-box {
66
+ display: flex;
67
+ width: 210px;
68
+ flex-wrap: wrap;
69
+
70
+ .general-transparent-button {
71
+ & + * {
72
+ margin-top: 5px;
73
+ }
74
+ }
75
+
76
+ .general-transparent-button,
77
+ .general-green-button,
78
+ .general-button-disabled {
79
+ width: fit-content;
80
+ min-width: 201px;
81
+ height: 40px;
82
+ }
83
+ }
84
+ }
85
+ }
86
+
87
+ .feedback-box {
88
+ display: flex;
89
+ }
90
+ }
91
+ }
92
+ .container {
93
+ width: 100%;
94
+ height: 100%;
95
+ .dropzone {
96
+ height: 100%;
97
+ width: 100%;
98
+ }
99
+ }
100
+ `;
@@ -401,6 +401,7 @@ export const RetailerProductEdition = ({
401
401
 
402
402
  const saveDatasheets = async () => {
403
403
  setLoading(true);
404
+ const productTemp = product;
404
405
  const dataObject = {
405
406
  articleId: product?.article?.id_article,
406
407
  articleData: updatedDatasheets,