allaw-ui 3.9.8 → 4.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.
@@ -90,6 +90,7 @@
90
90
  .icon-button.mediumOutline:hover {
91
91
  background: rgba(37, 190, 235, 0.1);
92
92
  border-color: var(--allaw-blue, #25beeb);
93
+ color: var(--allaw-blue, #0b5e7a);
93
94
  }
94
95
 
95
96
  .icon-button.mediumOutline .icon {
@@ -29,6 +29,12 @@
29
29
  justify-content: space-between;
30
30
  }
31
31
 
32
+ .datepicker-content i {
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: center;
36
+ }
37
+
32
38
  .datepicker-text {
33
39
  color: var(--Primary-Mid-black, #171e25);
34
40
  font-family: "Open Sans";
@@ -38,16 +38,10 @@ var ContactCardEdit = function (_a) {
38
38
  }
39
39
  };
40
40
  // Options pour les selects
41
- var statusOptions = [
42
- { label: "Client actif", value: "Client actif" },
43
- { label: "Prospect", value: "Prospect" },
44
- { label: "Ancien client", value: "Ancien client" },
45
- { label: "Contact", value: "Contact" },
46
- ];
47
41
  var clientTypeOptions = [
48
42
  { label: "Client du cabinet", value: "Client du cabinet" },
49
43
  { label: "Client de l'étude", value: "Client de l'étude" },
50
- { label: "Non client", value: "Non client" },
44
+ { label: "Contact", value: "Contact" },
51
45
  ];
52
46
  // Initialisation des données d'édition
53
47
  useEffect(function () {
@@ -93,10 +87,7 @@ var ContactCardEdit = function (_a) {
93
87
  }, disableAutofill: true }),
94
88
  React.createElement(Input, { title: "", placeholder: "Nom", value: editData.lastName, onChange: function (value) {
95
89
  return updateEditData(function (prev) { return (__assign(__assign({}, prev), { lastName: value })); });
96
- }, disableAutofill: true })),
97
- React.createElement(Select, { items: statusOptions, selectedItem: editData.status, placeholder: "Statut", onChange: function (value) {
98
- return updateEditData(function (prev) { return (__assign(__assign({}, prev), { status: value })); });
99
- } })),
90
+ }, disableAutofill: true }))),
100
91
  React.createElement("div", { className: styles.infoContainer },
101
92
  React.createElement("div", { className: styles.infoItem },
102
93
  React.createElement("i", { className: "allaw-icon-user ".concat(styles.infoIcon) }),
@@ -26,14 +26,14 @@
26
26
  justify-content: center;
27
27
  align-items: center;
28
28
  gap: 10px;
29
- width: 300px;
30
- min-width: 300px;
31
- max-width: 300px;
29
+ width: 200px;
30
+ min-width: 200px;
31
+ max-width: 200px;
32
32
  }
33
33
 
34
34
  .nameInputsContainer {
35
35
  display: flex;
36
- flex-direction: row;
36
+ flex-direction: column;
37
37
  gap: 8px;
38
38
  width: 100%;
39
39
  min-width: 200px;
@@ -97,13 +97,15 @@
97
97
  }
98
98
 
99
99
  .phoneInputContainer {
100
- width: 140px;
101
- min-width: 140px;
102
- max-width: 140px;
100
+ width: 160px;
101
+ min-width: 160px;
102
+ max-width: 160px;
103
103
  }
104
104
 
105
105
  .clientTypeSelectContainer {
106
106
  padding-left: 0px;
107
+ max-width: 160px;
108
+ min-width: 160px;
107
109
  }
108
110
 
109
111
  /* Media queries responsive */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "3.9.8",
3
+ "version": "4.0.0",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",