allaw-ui 1.0.83 → 1.0.85

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.
@@ -51,7 +51,7 @@ var BaseFilter = function (_a) {
51
51
  };
52
52
  return (React.createElement(React.Fragment, null,
53
53
  React.createElement("div", __assign({ className: "baseFilter" }, props),
54
- React.createElement(FilterButtonPrimary, { onClick: handleButtonTap, zIndex: "2000" },
54
+ React.createElement(FilterButtonPrimary, { onClick: handleButtonTap, zIndex: "100" },
55
55
  children,
56
56
  React.createElement("p", { style: { color: "#25BEEB", fontWeight: "600" } }, showNumIndic && "(".concat(selectedValue.length, ")"))),
57
57
  isOpen && (React.createElement("div", { className: "options" }, filterData && filterData.length > 0 &&
@@ -26,7 +26,7 @@
26
26
  .case-card-compact-left {
27
27
  display: flex;
28
28
  flex-direction: column;
29
- align-items: start;
29
+ align-items: flex-start;
30
30
  gap: 8px;
31
31
  }
32
32
 
@@ -26,7 +26,7 @@
26
26
  .client-link-card-left {
27
27
  display: flex;
28
28
  flex-direction: column;
29
- align-items: start;
29
+ align-items: flex-start;
30
30
  gap: 8px;
31
31
  }
32
32
 
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import "./DocumentCard.css";
3
3
  export interface DocumentCardProps {
4
- type: "document" | "note" | "invoice" | "waiting";
4
+ type: "document" | "note" | "invoice" | "waiting" | undefined;
5
5
  title: string;
6
6
  date: Date;
7
7
  status: "sent" | "received" | "internal";
@@ -4,7 +4,7 @@ import IconButton from "../../atoms/buttons/IconButton";
4
4
  import OtherStatusTag from "../../atoms/tags/OtherStatusTag";
5
5
  import { Paragraph } from "../../atoms/typography";
6
6
  var DocumentCard = function (_a) {
7
- var type = _a.type, title = _a.title, date = _a.date, onCardClick = _a.onCardClick, status = _a.status, _b = _a.documents, documents = _b === void 0 ? {} : _b, _c = _a.documentCount, documentCount = _c === void 0 ? "" : _c;
7
+ var _b = _a.type, type = _b === void 0 ? "document" : _b, title = _a.title, date = _a.date, onCardClick = _a.onCardClick, status = _a.status, _c = _a.documents, documents = _c === void 0 ? {} : _c, _d = _a.documentCount, documentCount = _d === void 0 ? "" : _d;
8
8
  var getIconName = function () {
9
9
  switch (type) {
10
10
  case "document":
@@ -32,6 +32,9 @@ var DocumentCard = function (_a) {
32
32
  }
33
33
  };
34
34
  var getDisplayType = function (type) {
35
+ if (!type) {
36
+ return "";
37
+ }
35
38
  if (type === "invoice") {
36
39
  return "FACTURE";
37
40
  }
@@ -9,9 +9,9 @@
9
9
  gap: 16px;
10
10
  border-radius: 16px;
11
11
  background: #fff;
12
- box-shadow: 0 4px 6px #0000001a;
12
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
13
13
  position: relative;
14
- z-index: 4000;
14
+ z-index: 1001;
15
15
  }
16
16
 
17
17
  .stepper-content {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "1.0.83",
3
+ "version": "1.0.85",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",