hr-design-system-handlebars 0.101.0 → 0.103.0
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.
- package/CHANGELOG.md +27 -0
- package/dist/assets/index.css +19 -3
- package/dist/views/components/geoTag/geoTag.hbs +1 -1
- package/dist/views/components/teaser/cluster/teaser_cluster.hbs +1 -1
- package/package.json +2 -1
- package/src/assets/tailwind.css +4 -0
- package/src/stories/views/components/geoTag/geoTag.hbs +1 -1
- package/src/stories/views/components/teaser/cluster/teaser_cluster.hbs +1 -1
- package/tailwind.config.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
# v0.103.0 (Fri Dec 09 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- handling long ClusterTeaser Title overflow [#426](https://github.com/mumprod/hr-design-system-handlebars/pull/426) (saad.elbaciri@hr.de [@vascoeduardo](https://github.com/vascoeduardo) [@selbaciri](https://github.com/selbaciri))
|
|
6
|
+
|
|
7
|
+
#### Authors: 3
|
|
8
|
+
|
|
9
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
10
|
+
- selbaciri (saad.elbaciri@hr.de)
|
|
11
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# v0.102.0 (Fri Dec 09 2022)
|
|
16
|
+
|
|
17
|
+
#### 🚀 Enhancement
|
|
18
|
+
|
|
19
|
+
- Truncate long geotag with Ellipsis [#425](https://github.com/mumprod/hr-design-system-handlebars/pull/425) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
|
|
20
|
+
|
|
21
|
+
#### Authors: 2
|
|
22
|
+
|
|
23
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
24
|
+
- selbaciri (saad.elbaciri@hr.de)
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
1
28
|
# v0.101.0 (Thu Dec 08 2022)
|
|
2
29
|
|
|
3
30
|
#### 🚀 Enhancement
|
package/dist/assets/index.css
CHANGED
|
@@ -1041,6 +1041,9 @@ video {
|
|
|
1041
1041
|
.w-5 {
|
|
1042
1042
|
width: 1.25rem;
|
|
1043
1043
|
}
|
|
1044
|
+
.w-3\/5 {
|
|
1045
|
+
width: 60%;
|
|
1046
|
+
}
|
|
1044
1047
|
.w-6 {
|
|
1045
1048
|
width: 1.5rem;
|
|
1046
1049
|
}
|
|
@@ -1095,6 +1098,11 @@ video {
|
|
|
1095
1098
|
width: -moz-fit-content !important;
|
|
1096
1099
|
width: fit-content !important;
|
|
1097
1100
|
}
|
|
1101
|
+
.max-w-min {
|
|
1102
|
+
max-width: -webkit-min-content;
|
|
1103
|
+
max-width: -moz-min-content;
|
|
1104
|
+
max-width: min-content;
|
|
1105
|
+
}
|
|
1098
1106
|
.max-w-full {
|
|
1099
1107
|
max-width: 100%;
|
|
1100
1108
|
}
|
|
@@ -2200,7 +2208,7 @@ video {
|
|
|
2200
2208
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2201
2209
|
}
|
|
2202
2210
|
.counter-reset {
|
|
2203
|
-
counter-reset:
|
|
2211
|
+
counter-reset: cnt1670590587512;
|
|
2204
2212
|
}
|
|
2205
2213
|
.line-clamp-4 {
|
|
2206
2214
|
overflow: hidden;
|
|
@@ -2208,6 +2216,10 @@ video {
|
|
|
2208
2216
|
-webkit-box-orient: vertical;
|
|
2209
2217
|
-webkit-line-clamp: 4;
|
|
2210
2218
|
}
|
|
2219
|
+
.hyphens-auto {
|
|
2220
|
+
-webkit-hyphens: auto;
|
|
2221
|
+
hyphens: auto;
|
|
2222
|
+
}
|
|
2211
2223
|
.placeholder-text-xs::-webkit-input-placeholder {
|
|
2212
2224
|
font-size: 0.75rem;
|
|
2213
2225
|
line-height: 1.063rem;
|
|
@@ -2428,7 +2440,7 @@ video {
|
|
|
2428
2440
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2429
2441
|
}
|
|
2430
2442
|
.-ordered {
|
|
2431
|
-
counter-increment:
|
|
2443
|
+
counter-increment: cnt1670590587512 1;
|
|
2432
2444
|
}
|
|
2433
2445
|
.-ordered::before {
|
|
2434
2446
|
position: absolute;
|
|
@@ -2444,7 +2456,7 @@ video {
|
|
|
2444
2456
|
letter-spacing: .0125em;
|
|
2445
2457
|
--tw-text-opacity: 1;
|
|
2446
2458
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2447
|
-
content: counter(
|
|
2459
|
+
content: counter(cnt1670590587512);
|
|
2448
2460
|
}
|
|
2449
2461
|
/*! ****************************/
|
|
2450
2462
|
/*! text-shadow */
|
|
@@ -3197,6 +3209,9 @@ video {
|
|
|
3197
3209
|
right: 0;
|
|
3198
3210
|
bottom: 0;
|
|
3199
3211
|
}
|
|
3212
|
+
.overflow-anywhere{
|
|
3213
|
+
word-wrap: anywhere;
|
|
3214
|
+
}
|
|
3200
3215
|
.placeholder\:text-grey-dark::-webkit-input-placeholder {
|
|
3201
3216
|
--tw-text-opacity: 1;
|
|
3202
3217
|
color: rgba(112, 112, 112, var(--tw-text-opacity));
|
|
@@ -4557,3 +4572,4 @@ video {
|
|
|
4557
4572
|
border-left-width: 1px;
|
|
4558
4573
|
}
|
|
4559
4574
|
}
|
|
4575
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<span
|
|
2
|
-
class='z-10 pointer-events-none inline-block absolute bottom-0 left-0 {{~inline-switch _teaserSize '["33"]' '[" mx-5 my-5 md:mx-4 md:my-4"," mx-5 my-5"]'}} rounded px-1.5 pt-px tracking-wide text-black text-base leading-5.5 font-heading bg-geoTag'
|
|
2
|
+
class='w-3/5 max-w-min truncate z-10 pointer-events-none inline-block absolute bottom-0 left-0 {{~inline-switch _teaserSize '["33"]' '[" mx-5 my-5 md:mx-4 md:my-4"," mx-5 my-5"]'}} rounded px-1.5 pt-px tracking-wide text-black text-base leading-5.5 font-heading bg-geoTag'
|
|
3
3
|
aria-hidden="true"
|
|
4
4
|
>
|
|
5
5
|
{{_text}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
</span>
|
|
8
8
|
{{/if}}
|
|
9
9
|
{{#if this.title}}
|
|
10
|
-
<span class="text-lg md:text-2xl border-clusterTeaserHeadline font-title uppercase{{#if this.teaserLogo}} pl-3 ml-3 border-l-2 border-solid {{/if}}{{#if this.hideTitle}} sr-only{{/if}}">{{this.title}}</span>
|
|
10
|
+
<span class="overflow-anywhere hyphens-auto text-lg md:text-2xl border-clusterTeaserHeadline font-title uppercase{{#if this.teaserLogo}} pl-3 ml-3 border-l-2 border-solid {{/if}}{{#if this.hideTitle}} sr-only{{/if}}">{{this.title}}</span>
|
|
11
11
|
{{/if}}
|
|
12
12
|
</h2>
|
|
13
13
|
{{> components/teaser/cluster/teaser_cluster_list _ordered=this.isOrdered}}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"repository": "https://github.com/szuelch/hr-design-system-handlebars",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.103.0",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
"storybook": "^6.5.9",
|
|
84
84
|
"storybook-conditional-toolbar-selector": "^1.0.3",
|
|
85
85
|
"tailwindcss": "^3.0.23",
|
|
86
|
+
"tailwindcss-hyphens": "^0.1.0",
|
|
86
87
|
"tailwindcss-important": "^1.0.0",
|
|
87
88
|
"underscore": "^1.13.2"
|
|
88
89
|
},
|
package/src/assets/tailwind.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<span
|
|
2
|
-
class='z-10 pointer-events-none inline-block absolute bottom-0 left-0 {{~inline-switch _teaserSize '["33"]' '[" mx-5 my-5 md:mx-4 md:my-4"," mx-5 my-5"]'}} rounded px-1.5 pt-px tracking-wide text-black text-base leading-5.5 font-heading bg-geoTag'
|
|
2
|
+
class='w-3/5 max-w-min truncate z-10 pointer-events-none inline-block absolute bottom-0 left-0 {{~inline-switch _teaserSize '["33"]' '[" mx-5 my-5 md:mx-4 md:my-4"," mx-5 my-5"]'}} rounded px-1.5 pt-px tracking-wide text-black text-base leading-5.5 font-heading bg-geoTag'
|
|
3
3
|
aria-hidden="true"
|
|
4
4
|
>
|
|
5
5
|
{{_text}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
</span>
|
|
8
8
|
{{/if}}
|
|
9
9
|
{{#if this.title}}
|
|
10
|
-
<span class="text-lg md:text-2xl border-clusterTeaserHeadline font-title uppercase{{#if this.teaserLogo}} pl-3 ml-3 border-l-2 border-solid {{/if}}{{#if this.hideTitle}} sr-only{{/if}}">{{this.title}}</span>
|
|
10
|
+
<span class="overflow-anywhere hyphens-auto text-lg md:text-2xl border-clusterTeaserHeadline font-title uppercase{{#if this.teaserLogo}} pl-3 ml-3 border-l-2 border-solid {{/if}}{{#if this.hideTitle}} sr-only{{/if}}">{{this.title}}</span>
|
|
11
11
|
{{/if}}
|
|
12
12
|
</h2>
|
|
13
13
|
{{> components/teaser/cluster/teaser_cluster_list _ordered=this.isOrdered}}
|