allaw-ui 4.8.0 → 4.8.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.
@@ -6,11 +6,6 @@ var AiText = function (_a) {
6
6
  return (React.createElement("div", { className: "".concat(styles.wrapper, " ").concat(className || "") },
7
7
  React.createElement("div", { className: styles.glowContainer },
8
8
  React.createElement("div", { className: "".concat(styles.glowLayer, " ").concat(styles.glowLayer1) }),
9
- React.createElement("div", { className: "".concat(styles.glowLayer, " ").concat(styles.glowLayer2) }),
10
- React.createElement("div", { className: "".concat(styles.glowLayer, " ").concat(styles.glowLayer3) }),
11
- React.createElement("div", { className: "".concat(styles.glowLayer, " ").concat(styles.glowLayer4) }),
12
- React.createElement("div", { className: "".concat(styles.glowLayer, " ").concat(styles.glowLayer5) }),
13
- React.createElement("div", { className: "".concat(styles.glowLayer, " ").concat(styles.glowLayer6) }),
14
9
  React.createElement("div", { className: styles.aiTextContainer },
15
10
  React.createElement("div", { className: styles.content }, children)))));
16
11
  };
@@ -48,17 +48,11 @@
48
48
  width: 999px;
49
49
  height: 999px;
50
50
  background: conic-gradient(
51
- #14698b,
52
- #25beeb 8%,
53
- #6db8e0 18%,
54
- #25beeb 30%,
55
- #1a8bb8 45%,
56
- #25beeb 55%,
57
- #1a8bb8 70%,
58
- #14698b 85%
51
+ #25BEEB,
52
+ #ffffff
59
53
  );
60
54
  transform: translate(-50%, -50%) rotate(60deg);
61
- animation: glowRotate1 4s linear infinite;
55
+ animation: glowRotate1 6s linear infinite;
62
56
  }
63
57
 
64
58
  /* Couche 2-4 - Effets secondaires */
@@ -76,13 +70,8 @@
76
70
  width: 600px;
77
71
  height: 600px;
78
72
  background: conic-gradient(
79
- rgba(23, 30, 37, 0.2),
80
- #1a8bb8 12%,
81
- rgba(37, 190, 235, 0.4) 25%,
82
- #728ea7 40%,
83
- rgba(23, 30, 37, 0.3) 55%,
84
- #25beeb 70%,
85
- rgba(109, 184, 224, 0.6) 85%
73
+ #25BEEB,
74
+ #ffffff
86
75
  );
87
76
  transform: translate(-50%, -50%) rotate(82deg);
88
77
  animation: glowRotate2 4s linear infinite;
@@ -100,13 +89,8 @@
100
89
  width: 600px;
101
90
  height: 600px;
102
91
  background: conic-gradient(
103
- rgba(162, 181, 200, 0.3) 0%,
104
- #6db8e0 15%,
105
- rgba(37, 190, 235, 0.7) 30%,
106
- #a2b5c8 45%,
107
- #25beeb 60%,
108
- rgba(114, 142, 167, 0.5) 75%,
109
- rgba(109, 184, 224, 0.8) 90%
92
+ #25BEEB,
93
+ #ffffff
110
94
  );
111
95
  transform: translate(-50%, -50%) rotate(83deg);
112
96
  filter: brightness(1.4);
@@ -124,14 +108,8 @@
124
108
  width: 600px;
125
109
  height: 600px;
126
110
  background: conic-gradient(
127
- #456073,
128
- #25beeb 15%,
129
- #6db8e0 25%,
130
- #1a8bb8 35%,
131
- #456073 50%,
132
- #25beeb 65%,
133
- #728ea7 80%,
134
- #456073 95%
111
+ #25BEEB,
112
+ #ffffff
135
113
  );
136
114
  transform: translate(-50%, -50%) rotate(70deg);
137
115
  filter: brightness(1.3);
@@ -4,7 +4,7 @@ export interface DocumentCardProps {
4
4
  type: "document" | "note" | "invoice" | "waiting" | "payment" | undefined;
5
5
  title: string;
6
6
  date: Date | undefined;
7
- status: "sent" | "received" | "refunded" | "partialyRefunded" | "internal" | "notRequired" | "waiting" | "expired" | "canceled" | "failed" | "processing" | "maxAttemptsReached";
7
+ status: "sent" | "received" | "refunded" | "partialyRefunded" | "internal" | "notRequired" | "waiting" | "expired" | "canceled" | "failed" | "processing" | "maxAttemptsReached" | "clea";
8
8
  documents?: {
9
9
  [key: string]: boolean;
10
10
  };
@@ -46,6 +46,8 @@ var DocumentCard = function (_a) {
46
46
  return "EN COURS";
47
47
  case "maxAttemptsReached":
48
48
  return "ÉCHOUÉ";
49
+ case "clea":
50
+ return "REÇU DE CLÉA";
49
51
  default:
50
52
  return "INTERNE";
51
53
  }
@@ -81,6 +83,7 @@ var DocumentCard = function (_a) {
81
83
  case "sent":
82
84
  case "notRequired":
83
85
  case "waiting":
86
+ case "clea":
84
87
  return "blue";
85
88
  case "processing":
86
89
  return "orange";
@@ -64,6 +64,7 @@ export const Default: any;
64
64
  export const Note: any;
65
65
  export const Invoice: any;
66
66
  export const Waiting: any;
67
+ export const Clea: any;
67
68
  import DocumentCard from "./DocumentCard";
68
69
  declare const defaultDocuments: {
69
70
  "Carte d'identit\u00E9 des \u00E9poux": boolean;
@@ -43,6 +43,7 @@ export default {
43
43
  "failed",
44
44
  "processing",
45
45
  "maxAttemptsReached",
46
+ "clea",
46
47
  ],
47
48
  },
48
49
  },
@@ -98,3 +99,10 @@ Waiting.args = {
98
99
  date: new Date("2023-08-30"),
99
100
  status: "received",
100
101
  };
102
+ export var Clea = Template.bind({});
103
+ Clea.args = {
104
+ type: "document",
105
+ title: "Document reçu de Cléa",
106
+ date: new Date("2023-09-15"),
107
+ status: "clea",
108
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "4.8.0",
3
+ "version": "4.8.2",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",