hr-design-system-handlebars 0.50.4 → 0.50.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v0.50.5 (Mon Jul 18 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - fix anchor-bug, add pseudo-button [#282](https://github.com/mumprod/hr-design-system-handlebars/pull/282) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
1
13
  # v0.50.4 (Fri Jul 15 2022)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -1153,6 +1153,10 @@ video {
1153
1153
  .border-r {
1154
1154
  border-right-width: 1px;
1155
1155
  }
1156
+ .border-toplineColor {
1157
+ border-color: #006dc1;
1158
+ border-color: var(--color-topline);
1159
+ }
1156
1160
  .border-white {
1157
1161
  --tw-border-opacity: 1;
1158
1162
  border-color: rgba(255, 255, 255, var(--tw-border-opacity));
@@ -1305,6 +1309,10 @@ video {
1305
1309
  .p-5 {
1306
1310
  padding: 1.25rem;
1307
1311
  }
1312
+ .px-2 {
1313
+ padding-left: 0.5rem;
1314
+ padding-right: 0.5rem;
1315
+ }
1308
1316
  .py-3\.5 {
1309
1317
  padding-top: 0.875rem;
1310
1318
  padding-bottom: 0.875rem;
@@ -1345,10 +1353,6 @@ video {
1345
1353
  padding-left: 1.25rem;
1346
1354
  padding-right: 1.25rem;
1347
1355
  }
1348
- .px-2 {
1349
- padding-left: 0.5rem;
1350
- padding-right: 0.5rem;
1351
- }
1352
1356
  .py-2 {
1353
1357
  padding-top: 0.5rem;
1354
1358
  padding-bottom: 0.5rem;
@@ -1529,6 +1533,10 @@ video {
1529
1533
  --tw-text-opacity: 1;
1530
1534
  color: rgba(39, 107, 158, var(--tw-text-opacity));
1531
1535
  }
1536
+ .text-toplineColor {
1537
+ color: #006dc1;
1538
+ color: var(--color-topline);
1539
+ }
1532
1540
  .text-blue-700 {
1533
1541
  --tw-text-opacity: 1;
1534
1542
  color: rgba(29, 78, 216, var(--tw-text-opacity));
@@ -1545,10 +1553,6 @@ video {
1545
1553
  --tw-text-opacity: 1;
1546
1554
  color: rgba(0, 82, 147, var(--tw-text-opacity));
1547
1555
  }
1548
- .text-toplineColor {
1549
- color: #006dc1;
1550
- color: var(--color-topline);
1551
- }
1552
1556
  .text-orange-spicyCarrot {
1553
1557
  --tw-text-opacity: 1;
1554
1558
  color: rgba(211, 70, 0, var(--tw-text-opacity));
@@ -0,0 +1,3 @@
1
+ {{#>components/base/link css="px-2 border text-toplineColor border-toplineColor font-heading hover:underline" }}
2
+ {{_linkTitle}}
3
+ {{/components/base/link}}
@@ -19,10 +19,8 @@
19
19
  {{~> components/teaser/teaser_logic/teaser_logic ~}}
20
20
  </div>
21
21
  {{~#if this.link~}}
22
- <div class="flex justify-center">
23
- <a class="text-base pt-7 font-heading text-toplineColor hover:underline" href="{{this.link.url}}">
24
- {{~loca "group_tabbed_more" this.title~}}
25
- </a>
22
+ <div class="flex justify-center pt-7">
23
+ {{~> components/button/button_pseudo _linkTitle=(loca "group_tabbed_more" this.title) ~}}
26
24
  </div>
27
25
  {{~/if~}}
28
26
  </section>
@@ -7,6 +7,7 @@
7
7
  {{~#each this.tabbedGroup~}}
8
8
  <button onclick="window.location.href='#tgp{{@index}}';"
9
9
  :class="tab === '{{this.title}}' ? 'text-white bg-blue-congress' : 'bg-white text-blue-congress'"
10
+ x-effect="$el.removeAttribute('onclick')"
10
11
  x-on:click.prevent="tab = '{{this.title}}'"
11
12
  class="text-base font-heading py-1 px-2 m-1.5"
12
13
  type="button"
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.4",
9
+ "version": "0.50.5",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -0,0 +1,3 @@
1
+ {{#>components/base/link css="px-2 border text-toplineColor border-toplineColor font-heading hover:underline" }}
2
+ {{_linkTitle}}
3
+ {{/components/base/link}}
@@ -19,10 +19,8 @@
19
19
  {{~> components/teaser/teaser_logic/teaser_logic ~}}
20
20
  </div>
21
21
  {{~#if this.link~}}
22
- <div class="flex justify-center">
23
- <a class="text-base pt-7 font-heading text-toplineColor hover:underline" href="{{this.link.url}}">
24
- {{~loca "group_tabbed_more" this.title~}}
25
- </a>
22
+ <div class="flex justify-center pt-7">
23
+ {{~> components/button/button_pseudo _linkTitle=(loca "group_tabbed_more" this.title) ~}}
26
24
  </div>
27
25
  {{~/if~}}
28
26
  </section>
@@ -7,6 +7,7 @@
7
7
  {{~#each this.tabbedGroup~}}
8
8
  <button onclick="window.location.href='#tgp{{@index}}';"
9
9
  :class="tab === '{{this.title}}' ? 'text-white bg-blue-congress' : 'bg-white text-blue-congress'"
10
+ x-effect="$el.removeAttribute('onclick')"
10
11
  x-on:click.prevent="tab = '{{this.title}}'"
11
12
  class="text-base font-heading py-1 px-2 m-1.5"
12
13
  type="button"