hr-design-system-handlebars 0.50.7 → 0.50.8
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 +12 -0
- package/dist/assets/index.css +53 -29
- package/dist/views/components/button/button_pseudo.hbs +4 -2
- package/dist/views/components/teaser/tabbox/group_tabbox.hbs +2 -2
- package/dist/views/components/teaser/tabbox/teaser_tabbox.hbs +3 -5
- package/dist/views/components/teaser/teaser_poster.hbs +1 -1
- package/package.json +1 -1
- package/src/stories/views/components/button/button_pseudo.hbs +4 -2
- package/src/stories/views/components/teaser/tabbox/group_tabbox.hbs +2 -2
- package/src/stories/views/components/teaser/tabbox/teaser_tabbox.hbs +3 -5
- package/src/stories/views/components/teaser/tabbox/teaser_tabbox.stories.mdx +1 -3
- package/src/stories/views/components/teaser/teaser_poster.hbs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.50.8 (Wed Jul 27 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- re-style buttons [#287](https://github.com/mumprod/hr-design-system-handlebars/pull/287) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.50.7 (Tue Jul 26 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1162,14 +1162,18 @@ video {
|
|
|
1162
1162
|
.border-r {
|
|
1163
1163
|
border-right-width: 1px;
|
|
1164
1164
|
}
|
|
1165
|
-
.border-toplineColor {
|
|
1166
|
-
border-color: #006dc1;
|
|
1167
|
-
border-color: var(--color-topline);
|
|
1168
|
-
}
|
|
1169
1165
|
.border-white {
|
|
1170
1166
|
--tw-border-opacity: 1;
|
|
1171
1167
|
border-color: rgba(255, 255, 255, var(--tw-border-opacity));
|
|
1172
1168
|
}
|
|
1169
|
+
.border-grey-scorpion {
|
|
1170
|
+
--tw-border-opacity: 1;
|
|
1171
|
+
border-color: rgba(96, 96, 96, var(--tw-border-opacity));
|
|
1172
|
+
}
|
|
1173
|
+
.border-toplineColor {
|
|
1174
|
+
border-color: #006dc1;
|
|
1175
|
+
border-color: var(--color-topline);
|
|
1176
|
+
}
|
|
1173
1177
|
.border-gray-200 {
|
|
1174
1178
|
--tw-border-opacity: 1;
|
|
1175
1179
|
border-color: rgba(229, 231, 235, var(--tw-border-opacity));
|
|
@@ -1302,9 +1306,17 @@ video {
|
|
|
1302
1306
|
.p-5 {
|
|
1303
1307
|
padding: 1.25rem;
|
|
1304
1308
|
}
|
|
1305
|
-
.px-
|
|
1306
|
-
padding-left:
|
|
1307
|
-
padding-right:
|
|
1309
|
+
.px-4 {
|
|
1310
|
+
padding-left: 1rem;
|
|
1311
|
+
padding-right: 1rem;
|
|
1312
|
+
}
|
|
1313
|
+
.py-2\.5 {
|
|
1314
|
+
padding-top: 0.625rem;
|
|
1315
|
+
padding-bottom: 0.625rem;
|
|
1316
|
+
}
|
|
1317
|
+
.py-2 {
|
|
1318
|
+
padding-top: 0.5rem;
|
|
1319
|
+
padding-bottom: 0.5rem;
|
|
1308
1320
|
}
|
|
1309
1321
|
.py-3\.5 {
|
|
1310
1322
|
padding-top: 0.875rem;
|
|
@@ -1346,9 +1358,9 @@ video {
|
|
|
1346
1358
|
padding-left: 1.25rem;
|
|
1347
1359
|
padding-right: 1.25rem;
|
|
1348
1360
|
}
|
|
1349
|
-
.
|
|
1350
|
-
padding-
|
|
1351
|
-
padding-
|
|
1361
|
+
.px-2 {
|
|
1362
|
+
padding-left: 0.5rem;
|
|
1363
|
+
padding-right: 0.5rem;
|
|
1352
1364
|
}
|
|
1353
1365
|
.py-1\.5 {
|
|
1354
1366
|
padding-top: 0.375rem;
|
|
@@ -1362,9 +1374,9 @@ video {
|
|
|
1362
1374
|
padding-left: 0px;
|
|
1363
1375
|
padding-right: 0px;
|
|
1364
1376
|
}
|
|
1365
|
-
.px
|
|
1366
|
-
padding-
|
|
1367
|
-
padding-
|
|
1377
|
+
.py-px {
|
|
1378
|
+
padding-top: 1px;
|
|
1379
|
+
padding-bottom: 1px;
|
|
1368
1380
|
}
|
|
1369
1381
|
.pt-px {
|
|
1370
1382
|
padding-top: 1px;
|
|
@@ -1405,11 +1417,11 @@ video {
|
|
|
1405
1417
|
.pr-4 {
|
|
1406
1418
|
padding-right: 1rem;
|
|
1407
1419
|
}
|
|
1408
|
-
.pb-
|
|
1409
|
-
padding-bottom:
|
|
1420
|
+
.pb-10 {
|
|
1421
|
+
padding-bottom: 2.5rem;
|
|
1410
1422
|
}
|
|
1411
|
-
.pt-
|
|
1412
|
-
padding-top:
|
|
1423
|
+
.pt-8 {
|
|
1424
|
+
padding-top: 2rem;
|
|
1413
1425
|
}
|
|
1414
1426
|
.pt-6 {
|
|
1415
1427
|
padding-top: 1.5rem;
|
|
@@ -1526,14 +1538,6 @@ video {
|
|
|
1526
1538
|
--tw-text-opacity: 1;
|
|
1527
1539
|
color: rgba(39, 107, 158, var(--tw-text-opacity));
|
|
1528
1540
|
}
|
|
1529
|
-
.text-toplineColor {
|
|
1530
|
-
color: #006dc1;
|
|
1531
|
-
color: var(--color-topline);
|
|
1532
|
-
}
|
|
1533
|
-
.text-blue-700 {
|
|
1534
|
-
--tw-text-opacity: 1;
|
|
1535
|
-
color: rgba(29, 78, 216, var(--tw-text-opacity));
|
|
1536
|
-
}
|
|
1537
1541
|
.text-white {
|
|
1538
1542
|
--tw-text-opacity: 1;
|
|
1539
1543
|
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
@@ -1542,6 +1546,14 @@ video {
|
|
|
1542
1546
|
--tw-text-opacity: 1;
|
|
1543
1547
|
color: rgba(96, 96, 96, var(--tw-text-opacity));
|
|
1544
1548
|
}
|
|
1549
|
+
.text-toplineColor {
|
|
1550
|
+
color: #006dc1;
|
|
1551
|
+
color: var(--color-topline);
|
|
1552
|
+
}
|
|
1553
|
+
.text-blue-700 {
|
|
1554
|
+
--tw-text-opacity: 1;
|
|
1555
|
+
color: rgba(29, 78, 216, var(--tw-text-opacity));
|
|
1556
|
+
}
|
|
1545
1557
|
.text-blue-congress {
|
|
1546
1558
|
--tw-text-opacity: 1;
|
|
1547
1559
|
color: rgba(0, 82, 147, var(--tw-text-opacity));
|
|
@@ -2481,6 +2493,18 @@ video {
|
|
|
2481
2493
|
.last-of-type\:hidden:last-of-type {
|
|
2482
2494
|
display: none;
|
|
2483
2495
|
}
|
|
2496
|
+
.hover\:border-toplineColor:hover {
|
|
2497
|
+
border-color: #006dc1;
|
|
2498
|
+
border-color: var(--color-topline);
|
|
2499
|
+
}
|
|
2500
|
+
.hover\:border-blue-congress:hover {
|
|
2501
|
+
--tw-border-opacity: 1;
|
|
2502
|
+
border-color: rgba(0, 82, 147, var(--tw-border-opacity));
|
|
2503
|
+
}
|
|
2504
|
+
.hover\:bg-white:hover {
|
|
2505
|
+
--tw-bg-opacity: 1;
|
|
2506
|
+
background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
|
|
2507
|
+
}
|
|
2484
2508
|
.hover\:bg-slate-300:hover {
|
|
2485
2509
|
--tw-bg-opacity: 1;
|
|
2486
2510
|
background-color: rgba(203, 213, 225, var(--tw-bg-opacity));
|
|
@@ -2495,14 +2519,14 @@ video {
|
|
|
2495
2519
|
.hover\:fill-orange-spicyCarrot:hover {
|
|
2496
2520
|
fill: #d34600;
|
|
2497
2521
|
}
|
|
2498
|
-
.hover\:text-white:hover {
|
|
2499
|
-
--tw-text-opacity: 1;
|
|
2500
|
-
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
2501
|
-
}
|
|
2502
2522
|
.hover\:text-toplineColor:hover {
|
|
2503
2523
|
color: #006dc1;
|
|
2504
2524
|
color: var(--color-topline);
|
|
2505
2525
|
}
|
|
2526
|
+
.hover\:text-white:hover {
|
|
2527
|
+
--tw-text-opacity: 1;
|
|
2528
|
+
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
2529
|
+
}
|
|
2506
2530
|
.hover\:underline:hover {
|
|
2507
2531
|
-webkit-text-decoration-line: underline;
|
|
2508
2532
|
text-decoration-line: underline;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
{{#>components/base/link
|
|
2
|
-
{{
|
|
1
|
+
{{#>components/base/link }}
|
|
2
|
+
<span class="px-4 py-2.5 border {{inline-switch _color '["white","grey"]' '["text-white border-white","text-grey-scorpion border-grey-scorpion","text-toplineColor border-toplineColor"]'}} font-heading hover:bg-white hover:text-toplineColor hover:border-toplineColor">
|
|
3
|
+
{{_linkTitle}}
|
|
4
|
+
</span>
|
|
3
5
|
{{/components/base/link}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<section
|
|
2
2
|
x-show="tab === '{{this.groupTitle}}'"
|
|
3
|
-
class="pb-
|
|
3
|
+
class="pb-10"
|
|
4
4
|
>
|
|
5
5
|
{{~#if this.hasGroupTitle~}}
|
|
6
6
|
<h3 class="sr-only">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
{{~> components/teaser/teaser_logic/teaser_logic ~}}
|
|
20
20
|
</div>
|
|
21
21
|
{{~#if this.link~}}
|
|
22
|
-
<div class="flex justify-center pt-
|
|
22
|
+
<div class="flex justify-center pt-8">
|
|
23
23
|
{{~> components/button/button_pseudo _linkTitle=(loca "group_tabbed_more" this.title) ~}}
|
|
24
24
|
</div>
|
|
25
25
|
{{~/if~}}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
</div>
|
|
2
1
|
<div
|
|
3
2
|
x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
|
|
4
3
|
class="grid grid-cols-12 pt-6 md:pt-7 bg-[#dce8f0] mx-0 md:rounded-tl-3xl md:rounded-br-3xl col-main gap-x-6 gap-y-6"
|
|
@@ -7,10 +6,10 @@
|
|
|
7
6
|
<div class="flex flex-wrap justify-center mb-7 mx-1.5" role="tablist">
|
|
8
7
|
{{~#each this.tabbedGroup~}}
|
|
9
8
|
<button onclick="window.location.href='#tgp{{@index}}';"
|
|
10
|
-
:class="tab === '{{this.title}}' ? 'text-white bg-blue-congress' : 'bg-white text-blue-congress'"
|
|
9
|
+
:class="tab === '{{this.title}}' ? 'text-white bg-blue-congress border-blue-congress' : 'bg-white text-blue-congress border-white hover:border-blue-congress'"
|
|
11
10
|
x-effect="$el.removeAttribute('onclick')"
|
|
12
11
|
x-on:click.prevent="tab = '{{this.title}}'"
|
|
13
|
-
class="text-base font-heading py-
|
|
12
|
+
class="border text-base font-heading py-px px-2 m-1.5"
|
|
14
13
|
type="button"
|
|
15
14
|
role="tab"
|
|
16
15
|
>
|
|
@@ -20,5 +19,4 @@
|
|
|
20
19
|
</div>
|
|
21
20
|
{{~> components/teaser/teaser_logic/teaser_logic ~}}
|
|
22
21
|
</section>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="grid grid-cols-12 py-6 bg-white sm:px-8 col-full sm:col-main gap-x-6 gap-y-6">
|
|
22
|
+
</div>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
</div>
|
|
9
9
|
</div>
|
|
10
10
|
{{#>components/base/link css="absolute flex w-full h-full justify-center" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
|
|
11
|
-
<div class="self-end
|
|
11
|
+
<div class="self-end {{inline-switch teaserSize '["33","50"]' '["mb-8 px-2","mb-8 md:mb-16 px-4 py-2.5"]'}} text-white border border-white font-heading hover:bg-white hover:text-toplineColor hover:border-toplineColor">{{this.link.readMoreText.readMoreLong}}</div>
|
|
12
12
|
{{/components/base/link}}
|
|
13
13
|
<span class="sr-only">{{this.link.readMoreText.readMoreLong}}: {{this.title}}</span>
|
|
14
14
|
</article>
|
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.50.
|
|
9
|
+
"version": "0.50.8",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
{{#>components/base/link
|
|
2
|
-
{{
|
|
1
|
+
{{#>components/base/link }}
|
|
2
|
+
<span class="px-4 py-2.5 border {{inline-switch _color '["white","grey"]' '["text-white border-white","text-grey-scorpion border-grey-scorpion","text-toplineColor border-toplineColor"]'}} font-heading hover:bg-white hover:text-toplineColor hover:border-toplineColor">
|
|
3
|
+
{{_linkTitle}}
|
|
4
|
+
</span>
|
|
3
5
|
{{/components/base/link}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<section
|
|
2
2
|
x-show="tab === '{{this.groupTitle}}'"
|
|
3
|
-
class="pb-
|
|
3
|
+
class="pb-10"
|
|
4
4
|
>
|
|
5
5
|
{{~#if this.hasGroupTitle~}}
|
|
6
6
|
<h3 class="sr-only">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
{{~> components/teaser/teaser_logic/teaser_logic ~}}
|
|
20
20
|
</div>
|
|
21
21
|
{{~#if this.link~}}
|
|
22
|
-
<div class="flex justify-center pt-
|
|
22
|
+
<div class="flex justify-center pt-8">
|
|
23
23
|
{{~> components/button/button_pseudo _linkTitle=(loca "group_tabbed_more" this.title) ~}}
|
|
24
24
|
</div>
|
|
25
25
|
{{~/if~}}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
</div>
|
|
2
1
|
<div
|
|
3
2
|
x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
|
|
4
3
|
class="grid grid-cols-12 pt-6 md:pt-7 bg-[#dce8f0] mx-0 md:rounded-tl-3xl md:rounded-br-3xl col-main gap-x-6 gap-y-6"
|
|
@@ -7,10 +6,10 @@
|
|
|
7
6
|
<div class="flex flex-wrap justify-center mb-7 mx-1.5" role="tablist">
|
|
8
7
|
{{~#each this.tabbedGroup~}}
|
|
9
8
|
<button onclick="window.location.href='#tgp{{@index}}';"
|
|
10
|
-
:class="tab === '{{this.title}}' ? 'text-white bg-blue-congress' : 'bg-white text-blue-congress'"
|
|
9
|
+
:class="tab === '{{this.title}}' ? 'text-white bg-blue-congress border-blue-congress' : 'bg-white text-blue-congress border-white hover:border-blue-congress'"
|
|
11
10
|
x-effect="$el.removeAttribute('onclick')"
|
|
12
11
|
x-on:click.prevent="tab = '{{this.title}}'"
|
|
13
|
-
class="text-base font-heading py-
|
|
12
|
+
class="border text-base font-heading py-px px-2 m-1.5"
|
|
14
13
|
type="button"
|
|
15
14
|
role="tab"
|
|
16
15
|
>
|
|
@@ -20,5 +19,4 @@
|
|
|
20
19
|
</div>
|
|
21
20
|
{{~> components/teaser/teaser_logic/teaser_logic ~}}
|
|
22
21
|
</section>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="grid grid-cols-12 py-6 bg-white sm:px-8 col-full sm:col-main gap-x-6 gap-y-6">
|
|
22
|
+
</div>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
</div>
|
|
9
9
|
</div>
|
|
10
10
|
{{#>components/base/link css="absolute flex w-full h-full justify-center" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
|
|
11
|
-
<div class="self-end
|
|
11
|
+
<div class="self-end {{inline-switch teaserSize '["33","50"]' '["mb-8 px-2","mb-8 md:mb-16 px-4 py-2.5"]'}} text-white border border-white font-heading hover:bg-white hover:text-toplineColor hover:border-toplineColor">{{this.link.readMoreText.readMoreLong}}</div>
|
|
12
12
|
{{/components/base/link}}
|
|
13
13
|
<span class="sr-only">{{this.link.readMoreText.readMoreLong}}: {{this.title}}</span>
|
|
14
14
|
</article>
|