hr-design-system-handlebars 1.25.1 → 1.26.1

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,27 @@
1
+ # v1.26.1 (Mon Jun 05 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - add adjust_context to title [#647](https://github.com/mumprod/hr-design-system-handlebars/pull/647) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
13
+ # v1.26.0 (Wed May 24 2023)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - Bugfix/dpe 2330 [#646](https://github.com/mumprod/hr-design-system-handlebars/pull/646) ([@szuelch](https://github.com/szuelch))
18
+
19
+ #### Authors: 1
20
+
21
+ - [@szuelch](https://github.com/szuelch)
22
+
23
+ ---
24
+
1
25
  # v1.25.1 (Tue May 23 2023)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -1477,14 +1477,14 @@ video {
1477
1477
  .min-w-0 {
1478
1478
  min-width: 0px;
1479
1479
  }
1480
- .min-w-10\.5 {
1481
- min-width: 2.625rem;
1480
+ .min-w-10 {
1481
+ min-width: 2.5rem;
1482
1482
  }
1483
- .min-w-11\.5 {
1484
- min-width: 2.875rem;
1483
+ .min-w-11 {
1484
+ min-width: 2.75rem;
1485
1485
  }
1486
- .min-w-7\.5 {
1487
- min-width: 1.875rem;
1486
+ .min-w-7 {
1487
+ min-width: 1.75rem;
1488
1488
  }
1489
1489
  .max-w-3\/4 {
1490
1490
  max-width: 75%;
@@ -2424,6 +2424,9 @@ video {
2424
2424
  .\!leading-8 {
2425
2425
  line-height: 2rem !important;
2426
2426
  }
2427
+ .\!leading-none {
2428
+ line-height: 1 !important;
2429
+ }
2427
2430
  .leading-10 {
2428
2431
  line-height: 2.5rem;
2429
2432
  }
@@ -2729,7 +2732,7 @@ video {
2729
2732
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
2730
2733
  }
2731
2734
  .counter-reset {
2732
- counter-reset: cnt1684849265448;
2735
+ counter-reset: cnt1685972919792;
2733
2736
  }
2734
2737
  .hyphens-auto {
2735
2738
  -webkit-hyphens: auto;
@@ -2965,7 +2968,7 @@ video {
2965
2968
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2966
2969
  }
2967
2970
  .-ordered {
2968
- counter-increment: cnt1684849265448 1;
2971
+ counter-increment: cnt1685972919792 1;
2969
2972
  }
2970
2973
  .-ordered::before {
2971
2974
  position: absolute;
@@ -2981,7 +2984,7 @@ video {
2981
2984
  letter-spacing: .0125em;
2982
2985
  --tw-text-opacity: 1;
2983
2986
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2984
- content: counter(cnt1684849265448);
2987
+ content: counter(cnt1685972919792);
2985
2988
  }
2986
2989
  /*! ****************************/
2987
2990
  /*! text-shadow */
@@ -1 +1 @@
1
- <span class='ds-button-label {{_css}}'>{{_label}}</span>
1
+ <span class='ds-button-label text-base {{_css}}'>{{_label}}</span>
@@ -1 +1,5 @@
1
- {{~inline-switch _size '["sm","md","lg"]' '[" px-2 py-0.5 min-w-7.5 justify-center"," p-2 min-w-10.5 justify-center"," px-4 py-2.5 min-w-11.5 justify-center",""]'~}}
1
+ {{~inline-switch
2
+ _size
3
+ '["sm","md","lg"]'
4
+ '[" px-2 py-0.5 min-w-7 justify-center"," p-2 min-w-10 justify-center"," px-4 py-2.5 min-w-11 justify-center",""]'
5
+ ~}}
@@ -4,7 +4,7 @@
4
4
  <li class="{{#unless @last}}mr-3 {{/unless}}">
5
5
  {{#> components/button/top_topics_button}}
6
6
  <div class="sr-only">{{loca "label_top_thema"}}</div>
7
- {{> components/button/components/button_label _label=this.text _css=""}}
7
+ {{> components/button/components/button_label _label=this.text _css="!leading-none"}}
8
8
  {{/components/button/top_topics_button}}
9
9
  </li>
10
10
  {{/each}}
@@ -1,7 +1,7 @@
1
1
  {{#if this.isSingleChannel}}
2
2
  {{#>components/base/link _link=this.link _css="group ds-link font-title text-base mt-2.5 text-podcast-text"}}
3
3
  <span class="mt-0.5 group-hover:underline {{#if ../../_ordered-adjust_context}} pl-8 {{/if}}line-clamp-4 {{inline-switch ../../_teaserSize-adjust_context '["hero","100","50"]''["text-base md:text-2xl lg:line-clamp-2","text-base md:text-2xl lg:line-clamp-2","text-base md:text-lg"]' ~}}">
4
- {{~_title~}}
4
+ {{~../../_title-adjust_context~}}
5
5
  </span>
6
6
  {{/components/base/link}}
7
7
  {{else}}
@@ -12,5 +12,7 @@
12
12
  {{> components/button/components/button_icon _icon="arrow-right" _iconmap="icons" _css=""}}
13
13
  {{/components/button/link_button}}
14
14
  </div>
15
+ {{#*inline "htmlProperties"~}}
16
+ {{~/inline}}
15
17
  {{~/if~}}
16
18
  </section>
@@ -7,7 +7,7 @@
7
7
  <div class="flex flex-wrap gap-y-3 justify-center mb-7 mx-1.5" role="tablist">
8
8
  {{~#each this.tabbedGroup~}}
9
9
  {{#> components/button/button _size="sm" _css="mx-1.5" _variant="secondary" _type="button" }}
10
- {{> components/button/components/button_label _label=this.title}}
10
+ {{> components/button/components/button_label _css="" _label=this.title}}
11
11
  {{/components/button/button }}
12
12
  {{#*inline "htmlProperties"~}}
13
13
  :class='{"{{> components/button/utilities/button_variation_classes _variant='primary' _onBackground=false}} bg-button--dark ":tab ==="{{this.title}}",
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": "1.25.1",
9
+ "version": "1.26.1",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -1 +1 @@
1
- <span class='ds-button-label {{_css}}'>{{_label}}</span>
1
+ <span class='ds-button-label text-base {{_css}}'>{{_label}}</span>
@@ -1 +1,5 @@
1
- {{~inline-switch _size '["sm","md","lg"]' '[" px-2 py-0.5 min-w-7.5 justify-center"," p-2 min-w-10.5 justify-center"," px-4 py-2.5 min-w-11.5 justify-center",""]'~}}
1
+ {{~inline-switch
2
+ _size
3
+ '["sm","md","lg"]'
4
+ '[" px-2 py-0.5 min-w-7 justify-center"," p-2 min-w-10 justify-center"," px-4 py-2.5 min-w-11 justify-center",""]'
5
+ ~}}
@@ -4,7 +4,7 @@
4
4
  <li class="{{#unless @last}}mr-3 {{/unless}}">
5
5
  {{#> components/button/top_topics_button}}
6
6
  <div class="sr-only">{{loca "label_top_thema"}}</div>
7
- {{> components/button/components/button_label _label=this.text _css=""}}
7
+ {{> components/button/components/button_label _label=this.text _css="!leading-none"}}
8
8
  {{/components/button/top_topics_button}}
9
9
  </li>
10
10
  {{/each}}
@@ -1,7 +1,7 @@
1
1
  {{#if this.isSingleChannel}}
2
2
  {{#>components/base/link _link=this.link _css="group ds-link font-title text-base mt-2.5 text-podcast-text"}}
3
3
  <span class="mt-0.5 group-hover:underline {{#if _ordered-adjust_context}} pl-8 {{/if}}line-clamp-4 {{inline-switch _teaserSize-adjust_context '["hero","100","50"]''["text-base md:text-2xl lg:line-clamp-2","text-base md:text-2xl lg:line-clamp-2","text-base md:text-lg"]' ~}}">
4
- {{~_title~}}
4
+ {{~_title-adjust_context~}}
5
5
  </span>
6
6
  {{/components/base/link}}
7
7
  {{else}}
@@ -12,5 +12,7 @@
12
12
  {{> components/button/components/button_icon _icon="arrow-right" _iconmap="icons" _css=""}}
13
13
  {{/components/button/link_button}}
14
14
  </div>
15
+ {{#*inline "htmlProperties"~}}
16
+ {{~/inline}}
15
17
  {{~/if~}}
16
18
  </section>
@@ -7,7 +7,7 @@
7
7
  <div class="flex flex-wrap gap-y-3 justify-center mb-7 mx-1.5" role="tablist">
8
8
  {{~#each this.tabbedGroup~}}
9
9
  {{#> components/button/button _size="sm" _css="mx-1.5" _variant="secondary" _type="button" }}
10
- {{> components/button/components/button_label _label=this.title}}
10
+ {{> components/button/components/button_label _css="" _label=this.title}}
11
11
  {{/components/button/button }}
12
12
  {{#*inline "htmlProperties"~}}
13
13
  :class='{"{{> components/button/utilities/button_variation_classes _variant='primary' _onBackground=false}} bg-button--dark ":tab ==="{{this.title}}",
@@ -154,9 +154,9 @@ module.exports = {
154
154
  'main-col': '63rem',
155
155
  },
156
156
  minWidth: {
157
- '7.5' :'1.875rem',
158
- '10.5' :'2.625rem',
159
- '11.5' :'2.875rem',
157
+ 7: '1.75rem',
158
+ 10: '2.5rem',
159
+ 11: '2.75rem',
160
160
  },
161
161
  margin: {
162
162
  '13': '3.125rem',