allaw-ui 3.9.1 → 3.9.2

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.
@@ -1,17 +1,23 @@
1
1
  .other-status-tag {
2
- height: 26px;
2
+ height: 28px;
3
3
  display: inline-flex;
4
- padding: 8px 10px;
4
+ padding: 8px 16px;
5
5
  justify-content: center;
6
6
  align-items: center;
7
7
  gap: 10px;
8
- border-radius: 8px;
8
+ border-radius: 16px;
9
9
  font-family: "Open Sans", sans-serif;
10
10
  font-size: 14px;
11
11
  font-style: normal;
12
12
  font-weight: 600;
13
13
  line-height: normal;
14
14
  text-align: center;
15
+ background: rgba(255, 255, 255, 0.35);
16
+ box-shadow: 0 2px 8px 0 rgba(37, 190, 235, 0.08), 0 1.5px 4px 0 rgba(114, 142, 167, 0.06);
17
+ border: 1.5px solid rgba(200, 220, 235, 0.25);
18
+ backdrop-filter: blur(6px) saturate(140%);
19
+ -webkit-backdrop-filter: blur(6px) saturate(140%);
20
+ transition: border 0.18s, box-shadow 0.18s, background 0.18s;
15
21
  }
16
22
 
17
23
  .other-status-tag-label {
@@ -22,17 +28,14 @@
22
28
  }
23
29
 
24
30
  .other-status-tag.readonly {
25
- background: var(--tag-white, #eef5fc);
31
+ background: rgba(238, 245, 252, 0.55);
26
32
  color: var(--Primary-Dark-grey, var(--dark-grey, #456073));
33
+ border: 1.5px solid rgba(200, 220, 235, 0.25);
27
34
  }
28
35
 
29
36
  .other-status-tag.editable {
30
- height: 35px;
31
- padding: 8px;
32
- gap: 4px;
33
- flex-shrink: 0;
34
- border: 1px solid #000;
35
- background: #fff;
37
+ background: rgba(255,255,255,0.45);
38
+ border: 1.5px solid rgba(200, 220, 235, 0.25);
36
39
  color: var(--Primary-Mid-black, var(--primary-black, #171e25));
37
40
  font-weight: 400;
38
41
  cursor: pointer;
@@ -40,6 +43,7 @@
40
43
 
41
44
  .other-status-tag.editable:hover {
42
45
  background: rgba(255, 255, 255, 0.6);
46
+ border: 1.5px solid var(--bleu-allaw, #25beeb);
43
47
  }
44
48
 
45
49
  .other-status-tag.editable .icon {
@@ -69,8 +73,9 @@
69
73
  }
70
74
 
71
75
  .other-status-tag.information.information-color-blue {
72
- border: 1px solid var(--tag-blue, #1985e8);
73
- color: var(--tag-blue, #1985e8);
76
+ background: rgba(37, 190, 235, 0.13);
77
+ border: 1.5px solid var(--bleu-allaw, #25beeb);
78
+ color: var(--bleu-allaw, #25beeb);
74
79
  }
75
80
 
76
81
  .other-status-tag.information.information-color-green {
@@ -6,9 +6,39 @@
6
6
  padding: 16px;
7
7
  justify-content: space-between;
8
8
  align-items: flex-start;
9
- border-radius: 8px;
10
- border: 1px solid var(--venom-grey, #e6edf5);
11
- background: var(--Primary-Blanc, #fff);
9
+ border-radius: 12px;
10
+ border: 1px solid rgba(200, 220, 235, 0.25);
11
+ background: rgba(255, 255, 255, 1);
12
+ box-shadow:
13
+ 0 4px 24px rgba(0, 0, 0, 0.06),
14
+ 0 1px 2px rgba(0, 0, 0, 0.04);
15
+ cursor: pointer;
16
+ transition: all 0.18s cubic-bezier(0.4, 0.2, 0.2, 1);
17
+ position: relative;
18
+ overflow: hidden;
19
+ }
20
+
21
+ .document-card::before {
22
+ content: "";
23
+ position: absolute;
24
+ inset: 0;
25
+ border-radius: 18px;
26
+ pointer-events: none;
27
+ border: 1px solid rgba(255,255,255,0.10);
28
+ z-index: 1;
29
+ }
30
+
31
+ .document-card:hover {
32
+ box-shadow: 0 6px 18px 0 rgba(37, 190, 235, 0.13), 0 2px 8px 0 rgba(114, 142, 167, 0.08);
33
+ transform: scale(1.01) translateY(-2px);
34
+ border: 1.5px solid var(--bleu-allaw, #25beeb);
35
+ background: rgba(255,255,255,0.28);
36
+ }
37
+
38
+ .document-card:active {
39
+ transform: scale(1.01);
40
+ background: rgba(246, 252, 254, 0.45);
41
+ border: 1.5px solid var(--bleu-allaw, #25beeb);
12
42
  }
13
43
 
14
44
  .document-card-left {
@@ -113,7 +113,7 @@ var DocumentCard = function (_a) {
113
113
  React.createElement(IconButton, { style: "largeFilled", iconName: getIconName(), color: type == "payment" ? "#25BEEB" : "inherit" }),
114
114
  React.createElement("div", { className: "document-card-info" },
115
115
  React.createElement("span", { className: "document-card-type" }, getDisplayType(type)),
116
- React.createElement(Paragraph, { text: title, variant: "semiBold", size: "default", maxLines: 2, color: "noir" }),
116
+ React.createElement(Paragraph, { text: title ? title : "Sans titre", variant: "semiBold", size: "default", maxLines: 2, color: "noir" }),
117
117
  React.createElement("span", { className: "document-card-date" }, formatDate(date)))),
118
118
  React.createElement("div", { className: "document-card-right" },
119
119
  React.createElement("div", { className: "document-card-status" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "3.9.1",
3
+ "version": "3.9.2",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",