allaw-ui 0.0.314 → 0.0.315

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,6 +1,5 @@
1
1
  import React from "react";
2
2
  import "./ProCard.css";
3
- import Image from "next/image";
4
3
  import OtherStatusTag from "../../atoms/tags/OtherStatusTag";
5
4
  var NoPhoto = "/assets/NoPhoto.png";
6
5
  var ProCard = function (_a) {
@@ -10,7 +9,7 @@ var ProCard = function (_a) {
10
9
  React.createElement("div", { className: "pro-card-content" },
11
10
  React.createElement("div", { className: "pro-card-top" },
12
11
  React.createElement("div", { className: "pro-card-image-container" },
13
- React.createElement(Image, { src: imageUrl || NoPhoto, alt: "".concat(firstName, " ").concat(lastName), width: 74, height: 74, className: "pro-card-avatar", unoptimized: imageUrl === null || imageUrl === void 0 ? void 0 : imageUrl.startsWith("http") })),
12
+ React.createElement("img", { src: imageUrl || NoPhoto, alt: "".concat(firstName, " ").concat(lastName), width: 74, height: 74, className: "pro-card-avatar" })),
14
13
  React.createElement("div", { className: "pro-card-job-name" },
15
14
  React.createElement(OtherStatusTag, { label: uppercaseJob, type: "information" }),
16
15
  React.createElement("h3", { className: "pro-card-name" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "0.0.314",
3
+ "version": "0.0.315",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",