allaw-ui 5.3.5 → 5.3.6

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.
@@ -73,6 +73,11 @@
73
73
  font-style: normal;
74
74
  font-weight: 600;
75
75
  line-height: normal;
76
+ margin: 0;
77
+ display: -webkit-box;
78
+ -webkit-line-clamp: 2;
79
+ -webkit-box-orient: vertical;
80
+ overflow: hidden;
76
81
  }
77
82
 
78
83
  .document-card-date {
@@ -2,7 +2,6 @@ import React from "react";
2
2
  import "./DocumentCard.css";
3
3
  import IconButton from "../../atoms/buttons/IconButton";
4
4
  import OtherStatusTag from "../../atoms/tags/OtherStatusTag";
5
- import { Paragraph } from "../../atoms/typography";
6
5
  var DocumentCard = function (_a) {
7
6
  var _b = _a.type, type = _b === void 0 ? "document" : _b, title = _a.title, _c = _a.date, date = _c === void 0 ? new Date() : _c, onCardClick = _a.onCardClick, status = _a.status, _d = _a.documents, documents = _d === void 0 ? {} : _d, _e = _a.documentCount, documentCount = _e === void 0 ? "" : _e, _f = _a.shadow, shadow = _f === void 0 ? true : _f;
8
7
  var getIconName = function () {
@@ -119,7 +118,7 @@ var DocumentCard = function (_a) {
119
118
  React.createElement(IconButton, { style: "largeFilled", iconName: getIconName(), color: type == "payment" ? "#25BEEB" : "inherit" }),
120
119
  React.createElement("div", { className: "document-card-info" },
121
120
  React.createElement("span", { className: "document-card-type" }, getDisplayType(type)),
122
- React.createElement(Paragraph, { text: title ? title : "Sans titre", variant: "semiBold", size: "default", maxLines: 2, color: "noir" }),
121
+ React.createElement("p", { className: "document-card-title" }, title ? title : "Sans titre"),
123
122
  React.createElement("span", { className: "document-card-date" }, formatDate(date)))),
124
123
  React.createElement("div", { className: "document-card-right" },
125
124
  React.createElement("div", { className: "document-card-status" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "5.3.5",
3
+ "version": "5.3.6",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",