allaw-ui 2.4.4 → 2.4.5

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.
@@ -11,7 +11,7 @@ var BlogBottomSection = function (_a) {
11
11
  return (React.createElement("div", { className: styles.blogBottomSection },
12
12
  React.createElement("div", { className: styles.blogBottomSectionUp },
13
13
  React.createElement("div", { className: styles.tagsContainer }, tags.slice(0, 2).map(function (tag, index) {
14
- var validatedTag = tag.trim().length > 40 ? "".concat(tag.slice(0, 40), "...") : tag;
14
+ var validatedTag = tag.trim().length > 12 ? "".concat(tag.slice(0, 12), "...") : tag;
15
15
  return (React.createElement("span", { key: index, className: styles.blogTypeTag }, validatedTag));
16
16
  })),
17
17
  React.createElement(TinyInfo, { text: date.toLocaleDateString(), variant: "medium14", color: "mid-grey" })),
@@ -4,8 +4,8 @@
4
4
  flex-direction: column;
5
5
  align-items: flex-start;
6
6
  width: 100%;
7
- max-width: 260px;
8
- min-width: 260px;
7
+ width: 300px;
8
+ max-width: 100%;
9
9
  box-shadow: 0px 1px 20px 0px rgba(213, 233, 246, 0.8);
10
10
  border-radius: 16px;
11
11
  overflow: hidden;
@@ -13,7 +13,7 @@
13
13
  cursor: pointer;
14
14
  border: none;
15
15
  height: 100%;
16
- max-height: 380px;
16
+ height: 400px;
17
17
  }
18
18
 
19
19
  .blogContainer:hover {
@@ -52,8 +52,8 @@
52
52
 
53
53
  .blogTitle {
54
54
  display: -webkit-box;
55
- line-clamp: 1;
56
- -webkit-line-clamp: 1;
55
+ -webkit-line-clamp: 3; /* Allow up to 2 lines */
56
+
57
57
  -webkit-box-orient: vertical;
58
58
  overflow: hidden;
59
59
  text-align: left;
@@ -70,8 +70,8 @@
70
70
 
71
71
  .blogDescription {
72
72
  display: -webkit-box;
73
- line-clamp: 3;
74
- -webkit-line-clamp: 3;
73
+ line-clamp: 5;
74
+ -webkit-line-clamp: 5;
75
75
  -webkit-box-orient: vertical;
76
76
  overflow: hidden;
77
77
  text-align: left;
@@ -1,6 +1,11 @@
1
1
  .breadcrumb {
2
2
  font-family: "Open Sans", sans-serif;
3
3
  line-height: 1;
4
+ display: flex;
5
+ flex-direction: row;
6
+ flex-wrap: wrap;
7
+ row-gap: 0.5rem;
8
+ align-items: center;
4
9
  }
5
10
 
6
11
  .breadcrumb-link {
@@ -7,6 +7,6 @@ var Breadcrumb = function (_a) {
7
7
  index > 0 && (React.createElement("span", { className: "breadcrumb-separator" },
8
8
  React.createElement("i", { className: "allaw-icon-chevron-right" }))),
9
9
  React.createElement("a", { href: item.link, className: "breadcrumb-link" },
10
- React.createElement(TinyInfo, { variant: "medium14", color: index === items.length - 1 ? "dark-grey" : "mid-grey", text: item.label })))); })));
10
+ React.createElement(TinyInfo, { variant: "medium14", color: index === items.length - 1 ? "dark-grey" : "mid-grey", text: item.label, align: "left" })))); })));
11
11
  };
12
12
  export default Breadcrumb;
@@ -39,7 +39,7 @@ Default.args = {
39
39
  items: [
40
40
  { key: 1, label: "Home", link: "/" },
41
41
  { key: 2, label: "Components", link: "/components" },
42
- { key: 3, label: "Breadcrumb", link: "/components/breadcrumb" },
42
+ { key: 3, label: "Breadcrumb dzedbuzed bdze duze dze", link: "/components/breadcrumb" },
43
43
  ],
44
44
  };
45
45
  export var LongBreadcrumb = Template.bind({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "2.4.4",
3
+ "version": "2.4.5",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",