hr-design-system-handlebars 1.17.0 β 1.17.2
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 +24 -0
- package/dist/assets/index.css +33 -22
- package/dist/views/components/button/button.hbs +1 -1
- package/dist/views/components/button/link_button.hbs +1 -1
- package/dist/views/components/button/top_topics_button.hbs +5 -0
- package/dist/views/components/button/utilities/button_variation_classes.hbs +10 -2
- package/dist/views/components/event/event_ticket_button.hbs +2 -2
- package/dist/views/components/horizontal_scroll_container/horizontal_scroll_container.hbs +1 -1
- package/dist/views/components/pagination/pagination_button_left.hbs +3 -3
- package/dist/views/components/pagination/pagination_button_left_linked.hbs +3 -5
- package/dist/views/components/pagination/pagination_button_right.hbs +4 -3
- package/dist/views/components/pagination/pagination_button_right_linked.hbs +3 -5
- package/dist/views/components/pagination/pagination_current_page_invalid.hbs +14 -7
- package/dist/views/components/pagination/pagination_current_page_valid.hbs +1 -1
- package/dist/views/components/pagination/pagination_more_than_three_pages.hbs +40 -24
- package/dist/views/components/pagination/pagination_only_three_pages.hbs +41 -23
- package/dist/views/components/pagination/pagination_only_two_pages.hbs +19 -11
- package/dist/views/components/site_header/section_navigation/section_navigation_top_topics.hbs +6 -5
- package/dist/views/components/teaser/teaser_poster.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/fixtures/page/page_pagination.json +15 -5
- package/src/assets/fixtures/site_header/topTopicsNavigation.inc.json +3 -3
- package/src/assets/tailwind.css +2 -0
- package/src/stories/views/components/button/button.hbs +1 -1
- package/src/stories/views/components/button/button.mdx +10 -1
- package/src/stories/views/components/button/button.stories.js +66 -0
- package/src/stories/views/components/button/link_button.hbs +1 -1
- package/src/stories/views/components/button/link_button.mdx +8 -0
- package/src/stories/views/components/button/link_button.stories.js +66 -0
- package/src/stories/views/components/button/top_topics_button.hbs +5 -0
- package/src/stories/views/components/button/utilities/button_variation_classes.hbs +10 -2
- package/src/stories/views/components/event/event_ticket_button.hbs +2 -2
- package/src/stories/views/components/horizontal_scroll_container/horizontal_scroll_container.hbs +1 -1
- package/src/stories/views/components/page/fixtures/page_pagination.json +1 -1
- package/src/stories/views/components/page/page.stories.js +17 -1
- package/src/stories/views/components/page/page_pagination.mdx +52 -3
- package/src/stories/views/components/page/page_pagination.stories.js +134 -4
- package/src/stories/views/components/pagination/pagination_button_left.hbs +3 -3
- package/src/stories/views/components/pagination/pagination_button_left_linked.hbs +3 -5
- package/src/stories/views/components/pagination/pagination_button_right.hbs +4 -3
- package/src/stories/views/components/pagination/pagination_button_right_linked.hbs +3 -5
- package/src/stories/views/components/pagination/pagination_current_page_invalid.hbs +14 -7
- package/src/stories/views/components/pagination/pagination_current_page_valid.hbs +1 -1
- package/src/stories/views/components/pagination/pagination_more_than_three_pages.hbs +40 -24
- package/src/stories/views/components/pagination/pagination_only_three_pages.hbs +41 -23
- package/src/stories/views/components/pagination/pagination_only_two_pages.hbs +19 -11
- package/src/stories/views/components/site_header/fixtures/site_header_mit_top_topics.json +1 -1
- package/src/stories/views/components/site_header/fixtures/site_header_mit_top_topics_no_sticky.json +1 -1
- package/src/stories/views/components/site_header/section_navigation/section_navigation_top_topics.hbs +6 -5
- package/src/stories/views/components/teaser/teaser_poster.hbs +1 -1
- package/tailwind.config.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v1.17.2 (Thu May 04 2023)
|
|
2
|
+
|
|
3
|
+
#### π Bug Fix
|
|
4
|
+
|
|
5
|
+
- 1913 - Top Topics fΓΌr Desktop einbauen [#615](https://github.com/mumprod/hr-design-system-handlebars/pull/615) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.17.1 (Wed May 03 2023)
|
|
14
|
+
|
|
15
|
+
#### π Bug Fix
|
|
16
|
+
|
|
17
|
+
- DPE-2079 Pagination Refactoring [#618](https://github.com/mumprod/hr-design-system-handlebars/pull/618) ([@Paul-Atreidis](https://github.com/Paul-Atreidis))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- [@Paul-Atreidis](https://github.com/Paul-Atreidis)
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v1.17.0 (Wed May 03 2023)
|
|
2
26
|
|
|
3
27
|
#### π Enhancement
|
package/dist/assets/index.css
CHANGED
|
@@ -1129,6 +1129,10 @@ video {
|
|
|
1129
1129
|
margin-left: 1px;
|
|
1130
1130
|
margin-right: 1px;
|
|
1131
1131
|
}
|
|
1132
|
+
.my-2 {
|
|
1133
|
+
margin-top: 0.5rem;
|
|
1134
|
+
margin-bottom: 0.5rem;
|
|
1135
|
+
}
|
|
1132
1136
|
.my-4 {
|
|
1133
1137
|
margin-top: 1rem;
|
|
1134
1138
|
margin-bottom: 1rem;
|
|
@@ -1803,6 +1807,9 @@ video {
|
|
|
1803
1807
|
.border-button {
|
|
1804
1808
|
border-color: var(--color-button);
|
|
1805
1809
|
}
|
|
1810
|
+
.border-button-disabled {
|
|
1811
|
+
border-color: var(--color-button-disabled);
|
|
1812
|
+
}
|
|
1806
1813
|
.border-button-inverted {
|
|
1807
1814
|
border-color: #ffffff;
|
|
1808
1815
|
border-color: var(--color-button-inverted);
|
|
@@ -1858,12 +1865,19 @@ video {
|
|
|
1858
1865
|
--tw-bg-opacity: 1;
|
|
1859
1866
|
background-color: rgba(0, 82, 147, var(--tw-bg-opacity));
|
|
1860
1867
|
}
|
|
1868
|
+
.bg-blue-linkWater {
|
|
1869
|
+
--tw-bg-opacity: 1;
|
|
1870
|
+
background-color: rgba(211, 226, 244, var(--tw-bg-opacity));
|
|
1871
|
+
}
|
|
1861
1872
|
.bg-button {
|
|
1862
1873
|
background-color: var(--color-button);
|
|
1863
1874
|
}
|
|
1864
1875
|
.bg-button--dark {
|
|
1865
1876
|
background-color: var(--color-button--dark);
|
|
1866
1877
|
}
|
|
1878
|
+
.bg-button-disabled {
|
|
1879
|
+
background-color: var(--color-button-disabled);
|
|
1880
|
+
}
|
|
1867
1881
|
.bg-button-inverted {
|
|
1868
1882
|
background-color: #ffffff;
|
|
1869
1883
|
background-color: var(--color-button-inverted);
|
|
@@ -2085,10 +2099,6 @@ video {
|
|
|
2085
2099
|
padding-left: 0.5rem;
|
|
2086
2100
|
padding-right: 0.5rem;
|
|
2087
2101
|
}
|
|
2088
|
-
.px-20 {
|
|
2089
|
-
padding-left: 5rem;
|
|
2090
|
-
padding-right: 5rem;
|
|
2091
|
-
}
|
|
2092
2102
|
.px-3 {
|
|
2093
2103
|
padding-left: 0.75rem;
|
|
2094
2104
|
padding-right: 0.75rem;
|
|
@@ -2217,9 +2227,6 @@ video {
|
|
|
2217
2227
|
.pl-4 {
|
|
2218
2228
|
padding-left: 1rem;
|
|
2219
2229
|
}
|
|
2220
|
-
.pl-5 {
|
|
2221
|
-
padding-left: 1.25rem;
|
|
2222
|
-
}
|
|
2223
2230
|
.pl-8 {
|
|
2224
2231
|
padding-left: 2rem;
|
|
2225
2232
|
}
|
|
@@ -2244,6 +2251,9 @@ video {
|
|
|
2244
2251
|
.pt-0 {
|
|
2245
2252
|
padding-top: 0px;
|
|
2246
2253
|
}
|
|
2254
|
+
.pt-0\.5 {
|
|
2255
|
+
padding-top: 0.125rem;
|
|
2256
|
+
}
|
|
2247
2257
|
.pt-1 {
|
|
2248
2258
|
padding-top: 0.25rem;
|
|
2249
2259
|
}
|
|
@@ -2426,10 +2436,6 @@ video {
|
|
|
2426
2436
|
--tw-text-opacity: 1;
|
|
2427
2437
|
color: rgba(29, 78, 216, var(--tw-text-opacity));
|
|
2428
2438
|
}
|
|
2429
|
-
.text-blue-astronautBlue {
|
|
2430
|
-
--tw-text-opacity: 1;
|
|
2431
|
-
color: rgba(0, 55, 93, var(--tw-text-opacity));
|
|
2432
|
-
}
|
|
2433
2439
|
.text-blue-congress {
|
|
2434
2440
|
--tw-text-opacity: 1;
|
|
2435
2441
|
color: rgba(0, 82, 147, var(--tw-text-opacity));
|
|
@@ -2441,6 +2447,9 @@ video {
|
|
|
2441
2447
|
.text-button {
|
|
2442
2448
|
color: var(--color-button);
|
|
2443
2449
|
}
|
|
2450
|
+
.text-button-disabled--dark {
|
|
2451
|
+
color: var(--color-button-disabled--dark);
|
|
2452
|
+
}
|
|
2444
2453
|
.text-button-inverted {
|
|
2445
2454
|
color: #ffffff;
|
|
2446
2455
|
color: var(--color-button-inverted);
|
|
@@ -2677,7 +2686,7 @@ video {
|
|
|
2677
2686
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
2678
2687
|
}
|
|
2679
2688
|
.counter-reset {
|
|
2680
|
-
counter-reset:
|
|
2689
|
+
counter-reset: cnt1683193563945;
|
|
2681
2690
|
}
|
|
2682
2691
|
.hyphens-auto {
|
|
2683
2692
|
-webkit-hyphens: auto;
|
|
@@ -2915,7 +2924,7 @@ video {
|
|
|
2915
2924
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2916
2925
|
}
|
|
2917
2926
|
.-ordered {
|
|
2918
|
-
counter-increment:
|
|
2927
|
+
counter-increment: cnt1683193563945 1;
|
|
2919
2928
|
}
|
|
2920
2929
|
.-ordered::before {
|
|
2921
2930
|
position: absolute;
|
|
@@ -2931,7 +2940,7 @@ video {
|
|
|
2931
2940
|
letter-spacing: .0125em;
|
|
2932
2941
|
--tw-text-opacity: 1;
|
|
2933
2942
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2934
|
-
content: counter(
|
|
2943
|
+
content: counter(cnt1683193563945);
|
|
2935
2944
|
}
|
|
2936
2945
|
/*! ****************************/
|
|
2937
2946
|
/*! text-shadow */
|
|
@@ -3102,6 +3111,8 @@ video {
|
|
|
3102
3111
|
--color-button--dark: #005293;
|
|
3103
3112
|
--color-button-inverted: #ffffff;
|
|
3104
3113
|
--color-button-inverted--dark: #eaf3fa;
|
|
3114
|
+
--color-button-disabled: #d4d4d4;
|
|
3115
|
+
--color-button-disabled--dark: #797979;
|
|
3105
3116
|
/* Media-Button */
|
|
3106
3117
|
--color-media-button: #006dc1;
|
|
3107
3118
|
/* States */
|
|
@@ -3941,10 +3952,6 @@ video {
|
|
|
3941
3952
|
--tw-bg-opacity: 1;
|
|
3942
3953
|
background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
|
|
3943
3954
|
}
|
|
3944
|
-
.hover\:bg-blue-300:hover {
|
|
3945
|
-
--tw-bg-opacity: 1;
|
|
3946
|
-
background-color: rgba(147, 197, 253, var(--tw-bg-opacity));
|
|
3947
|
-
}
|
|
3948
3955
|
.hover\:bg-blue-congress:hover {
|
|
3949
3956
|
--tw-bg-opacity: 1;
|
|
3950
3957
|
background-color: rgba(0, 82, 147, var(--tw-bg-opacity));
|
|
@@ -4873,6 +4880,14 @@ video {
|
|
|
4873
4880
|
margin-top: -2rem;
|
|
4874
4881
|
}
|
|
4875
4882
|
|
|
4883
|
+
.lg\:mb-2 {
|
|
4884
|
+
margin-bottom: 0.5rem;
|
|
4885
|
+
}
|
|
4886
|
+
|
|
4887
|
+
.lg\:mb-2\.5 {
|
|
4888
|
+
margin-bottom: 0.625rem;
|
|
4889
|
+
}
|
|
4890
|
+
|
|
4876
4891
|
.lg\:ml-0 {
|
|
4877
4892
|
margin-left: 0px;
|
|
4878
4893
|
}
|
|
@@ -5148,10 +5163,6 @@ video {
|
|
|
5148
5163
|
padding-bottom: 0px;
|
|
5149
5164
|
}
|
|
5150
5165
|
|
|
5151
|
-
.lg\:pb-1 {
|
|
5152
|
-
padding-bottom: 0.25rem;
|
|
5153
|
-
}
|
|
5154
|
-
|
|
5155
5166
|
.lg\:pb-3 {
|
|
5156
5167
|
padding-bottom: 0.75rem;
|
|
5157
5168
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<button
|
|
2
2
|
{{#if _id}} id="{{_id}}"{{/if}}
|
|
3
|
-
class="ds-button {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant=_variant _onBackground=_onBackground _disableButtonPress=_disableButtonPress}} {{> components/button/utilities/button_dimension_classes _size=_size}}{{#if _css}} {{_css}}{{/if}} {{#> css}}{{/css}}{{#if _openModal}} js-modalButton{{/if}}"
|
|
3
|
+
class="ds-button {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant=_variant _onBackground=_onBackground _disableButtonPress=_disableButtonPress _disabled=_disabled}} {{> components/button/utilities/button_dimension_classes _size=_size}}{{#if _css}} {{_css}}{{/if}} {{#> css}}{{/css}}{{#if _openModal}} js-modalButton{{/if}}"
|
|
4
4
|
{{#if _openModal}} aria-haspopup="true"{{/if}}
|
|
5
5
|
{{~#if _ariaLabel}} aria-label="{{_ariaLabel}}"{{/if}}
|
|
6
6
|
type="{{defaultIfEmpty _type "submit"}}"
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
{{> @partial-block }}
|
|
3
3
|
{{/components/base/link}}
|
|
4
4
|
{{#*inline "css"~}}
|
|
5
|
-
{{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant=../../_variant _onBackground=../../_onBackground}} {{> components/button/utilities/button_dimension_classes _size=../../_size~}}
|
|
5
|
+
{{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant=../../_variant _onBackground=../../_onBackground _disableButtonPress=../../_disableButtonPress _disabled=../../_disabled}} {{> components/button/utilities/button_dimension_classes _size=../../_size~}}
|
|
6
6
|
{{~/inline}}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{{#> components/base/link _link=this.link _css="inline-flex items-center"}}
|
|
2
|
+
<span class="rounded-full font-copy my-2 lg:mb-2.5 pt-0.5 px-1.5 leading-5 {{> components/button/utilities/button_variation_classes _variant="primary" _onBackground="true"}}">
|
|
3
|
+
{{> @partial-block }}
|
|
4
|
+
</span>
|
|
5
|
+
{{/components/base/link}}
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
{{#if _onBackground~}}
|
|
2
|
+
{{inline-switch
|
|
3
|
+
_variant
|
|
4
|
+
'["primary","secondary","tertiary"]'
|
|
5
|
+
'[" border text-button bg-button-inverted border-button-inverted hover:bg-button-inverted--dark hover:border-button-inverted--dark active:bg-button-inverted--dark "," border text-button-inverted border-button-inverted hover:bg-button-inverted--dark hover:text-button active:text-button active:bg-button-inverted--dark "," bg-transparent border-transparent text-button-inverted hover:bg-button-inverted--dark hover:text-button hover:border-button-inverted--dark active:text-button active:bg-button-inverted--dark "," border text-button bg-button-inverted border-button-inverted hover:bg-button-inverted--dark active:bg-button-inverted--dark "]'
|
|
6
|
+
~}}
|
|
7
|
+
{{else if _disabled~}}
|
|
8
|
+
|
|
2
9
|
{{inline-switch
|
|
3
10
|
_variant
|
|
4
11
|
'["primary","secondary","tertiary"]'
|
|
5
|
-
'[" border text-button bg-button-
|
|
12
|
+
'[" border text-button-disabled--dark bg-button-disabled border-button-disabled "," border text-button-disabled--dark border-button-disabled "," bg-transparent border-transparent text-button-disabled--dark "," border text-button-disabled--dark bg-button-disabled border-button-disabled "]'
|
|
6
13
|
~}}
|
|
14
|
+
|
|
7
15
|
{{else}}
|
|
8
16
|
{{~inline-switch
|
|
9
17
|
_variant
|
|
10
18
|
'["primary","secondary","tertiary"]'
|
|
11
|
-
'[" border text-button-inverted bg-button border-button hover:bg-button--dark
|
|
19
|
+
'[" border text-button-inverted bg-button border-button hover:bg-button--dark hover:border-button--dark active:bg-button--dark "," border text-button border-button hover:bg-button-inverted active:bg-button-primary--inverted"," border bg-transparent border-transparent text-button hover:bg-button-inverted hover:border-button active:bg-button-primary--inverted"," border text-button-inverted bg-button border-button hover:bg-button--dark hover:border-button--dark active:bg-button--dark "]'
|
|
12
20
|
~}}
|
|
13
21
|
{{/if}}
|
|
14
22
|
{{~#unless _disableButtonPress}} active:scale-95{{/unless}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="static
|
|
1
|
+
<div class="static pt-1 pb-3 pl-4 sm:absolute sm:pl-0 sm:pt-0 sm:pb-0 sm:right-4 sm:bottom-4">
|
|
2
2
|
{{#> components/button/button _id=(nextRandom) _size="lg"}}
|
|
3
3
|
{{> components/button/components/button_icon _icon="ticket" _iconmap="icons" _css="mr-2"}}
|
|
4
4
|
{{>components/button/components/button_label _label="Tickets"}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{{#> components/teaser/components/teaser_headline}}
|
|
8
8
|
{{> components/teaser/components/teaser_title _text=(loca 'ticket_modal_headline') _css="text-2xl"}}
|
|
9
9
|
{{/components/teaser/components/teaser_headline}}
|
|
10
|
-
<p class="text-base font-copy
|
|
10
|
+
<p class="mt-2 text-base font-copy">{{loca "ticket_modal_text"}}</p>
|
|
11
11
|
|
|
12
12
|
<div class="flex flex-wrap mt-4">
|
|
13
13
|
{{#> components/button/button _size="lg" _variant="tertiary" _value="cancel" _css="mr-4 mt-4"}}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</button>
|
|
17
17
|
</div>
|
|
18
18
|
</template>
|
|
19
|
-
<div x-ref="scrollContainer_{{getRandom}}" @scroll="updateIndex($event.target)" class="w-full overflow-hidden overflow-x-scroll
|
|
19
|
+
<div x-ref="scrollContainer_{{getRandom}}" @scroll="updateIndex($event.target)" class="w-full overflow-hidden overflow-x-scroll transition-all duration-300 ease-in-out cursor-default hide-scroll-bar align-center">
|
|
20
20
|
{{> @partial-block }}
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
{{#> components/button/link_button _size="lg" _variant="tertiary" _disableButtonPress='true' _disabled='true' _css="mr-1"}}
|
|
2
|
+
{{> components/button/components/button_icon _icon="arrow-left" _iconmap="icons"}}
|
|
3
|
+
{{/components/button/link_button}}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
</a>
|
|
5
|
-
</div>
|
|
1
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.previousItemLink _css="mr-1"}}
|
|
2
|
+
{{> components/button/components/button_icon _icon="arrow-left" _iconmap="icons"}}
|
|
3
|
+
{{/components/button/link_button}}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
{{#> components/button/link_button _size="lg" _variant="tertiary" _disableButtonPress='true' _disabled='true' _css="ml-1"}}
|
|
2
|
+
{{> components/button/components/button_icon _icon="arrow-right" _iconmap="icons"}}
|
|
3
|
+
{{/components/button/link_button}}
|
|
4
|
+
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
</a>
|
|
5
|
-
</div>
|
|
1
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.nextItemLink _css="ml-1"}}
|
|
2
|
+
{{> components/button/components/button_icon _icon="arrow-right" _iconmap="icons"}}
|
|
3
|
+
{{/components/button/link_button}}
|
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
<nav class="flex content-center justify-center py-10" role="navigation" aria-label="Paginierung">
|
|
1
|
+
<nav class="flex flex-row content-center justify-center py-10" role="navigation" aria-label="Paginierung">
|
|
2
|
+
<div class="flex h-10"></div>
|
|
2
3
|
{{> components/pagination/pagination_button_left }}
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.firstPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
5
|
+
{{> components/button/components/button_label _label="1"}}
|
|
6
|
+
{{/components/button/link_button}}
|
|
5
7
|
{{~#if _moreThanOnePage ~}}
|
|
6
8
|
{{~#unless _onlyTwoPages ~}}
|
|
7
9
|
{{~#if _onlyThreePages ~}}
|
|
8
|
-
|
|
10
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.lastButOnePageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
11
|
+
{{> components/button/components/button_label _label="2"}}
|
|
12
|
+
{{/components/button/link_button}}
|
|
9
13
|
{{else}}
|
|
10
|
-
<span class="
|
|
14
|
+
<span class="pt-1 ml-2 mr-2 font-title">…</span>
|
|
11
15
|
{{~/if~}}
|
|
12
16
|
{{~/unless~}}
|
|
13
|
-
|
|
17
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.lastPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
18
|
+
{{> components/button/components/button_label _label=_totalPages}}
|
|
19
|
+
{{/components/button/link_button}}
|
|
14
20
|
{{~/if~}}
|
|
15
|
-
|
|
21
|
+
|
|
16
22
|
{{> components/pagination/pagination_button_right }}
|
|
23
|
+
</div>
|
|
17
24
|
</nav>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{~#if _moreThanOnePage~}}
|
|
2
|
-
<nav class="flex content-center justify-center py-10" role="navigation" aria-label="Paginierung">
|
|
2
|
+
<nav class="flex flex-row content-center justify-center py-10" role="navigation" aria-label="Paginierung">
|
|
3
3
|
{{~#if _onlyTwoPages~}}
|
|
4
4
|
{{> components/pagination/pagination_only_two_pages
|
|
5
5
|
_firstPage=_firstPage
|
|
@@ -1,38 +1,54 @@
|
|
|
1
1
|
{{~#if _firstPage~}}
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
<div class="flex h-10">
|
|
3
|
+
{{> components/pagination/pagination_button_left }}
|
|
4
|
+
{{#> components/button/link_button _size="lg" _variant="primary" _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
5
|
+
{{> components/button/components/button_label _label="1"}}
|
|
6
|
+
{{/components/button/link_button}}
|
|
7
|
+
<span class="pt-1 ml-2 mr-2 font-title">…</span>
|
|
8
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.lastPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
9
|
+
{{> components/button/components/button_label _label=_totalPages}}
|
|
10
|
+
{{/components/button/link_button}}
|
|
11
|
+
{{> components/pagination/pagination_button_right_linked }}
|
|
12
|
+
</div>
|
|
9
13
|
{{else}}
|
|
10
|
-
{{~#if _secondPage~}}
|
|
14
|
+
{{~#if _secondPage~}}
|
|
15
|
+
<div class="flex h-10">
|
|
11
16
|
{{> components/pagination/pagination_button_left_linked }}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.firstPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
18
|
+
{{> components/button/components/button_label _label="1"}}
|
|
19
|
+
{{/components/button/link_button}}
|
|
20
|
+
{{#> components/button/link_button _size="lg" _variant="primary" _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
21
|
+
{{> components/button/components/button_label _label="2"}}
|
|
22
|
+
{{/components/button/link_button}}
|
|
23
|
+
<span class="pt-1 ml-2 mr-2 font-title">…</span>
|
|
24
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.lastPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
25
|
+
{{> components/button/components/button_label _label=_totalPages}}
|
|
26
|
+
{{/components/button/link_button}}
|
|
18
27
|
{{> components/pagination/pagination_button_right_linked }}
|
|
28
|
+
</div>
|
|
19
29
|
{{else}}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
30
|
+
<div class="flex h-10">
|
|
31
|
+
{{> components/pagination/pagination_button_left_linked }}
|
|
32
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.firstPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
33
|
+
{{> components/button/components/button_label _label="1"}}
|
|
34
|
+
{{/components/button/link_button}}
|
|
35
|
+
<span class="pt-1 ml-2 mr-2 font-title">…</span>
|
|
36
|
+
{{#> components/button/link_button _size="lg" _variant="primary" _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
37
|
+
{{> components/button/components/button_label _label=_currentPage}}
|
|
38
|
+
{{/components/button/link_button}}
|
|
25
39
|
{{~#if _notLastPage~}}
|
|
26
40
|
{{~#if _notLastButOnePage~}}
|
|
27
|
-
<span class="
|
|
41
|
+
<span class="pt-1 ml-2 mr-2 font-title">…</span>
|
|
28
42
|
{{~/if~}}
|
|
29
|
-
|
|
30
|
-
{{
|
|
31
|
-
|
|
43
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.lastPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
44
|
+
{{> components/button/components/button_label _label=_totalPages}}
|
|
45
|
+
{{/components/button/link_button}}
|
|
46
|
+
{{~/if~}}
|
|
32
47
|
{{~#if _notLastPage~}}
|
|
33
48
|
{{> components/pagination/pagination_button_right_linked }}
|
|
34
49
|
{{else}}
|
|
35
50
|
{{> components/pagination/pagination_button_right }}
|
|
36
|
-
{{~/if~}}
|
|
51
|
+
{{~/if~}}
|
|
52
|
+
</div>
|
|
37
53
|
{{~/if~}}
|
|
38
54
|
{{~/if~}}
|
|
@@ -1,27 +1,45 @@
|
|
|
1
|
-
{{~#if _firstPage~}}
|
|
1
|
+
{{~#if _firstPage~}}
|
|
2
|
+
<div class="flex h-10">
|
|
2
3
|
{{> components/pagination/pagination_button_left }}
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
{{
|
|
4
|
+
{{#> components/button/link_button _size="lg" _variant="primary" _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
5
|
+
{{> components/button/components/button_label _label="1"}}
|
|
6
|
+
{{/components/button/link_button}}
|
|
7
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.nextItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
8
|
+
{{> components/button/components/button_label _label="2"}}
|
|
9
|
+
{{/components/button/link_button}}
|
|
10
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.lastPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
11
|
+
{{> components/button/components/button_label _label="3"}}
|
|
12
|
+
{{/components/button/link_button}}
|
|
13
|
+
{{> components/pagination/pagination_button_right_linked }}
|
|
14
|
+
</div>
|
|
9
15
|
{{else}}
|
|
10
|
-
{{~#if _secondPage~}}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
{{> components/
|
|
18
|
-
|
|
19
|
-
{{
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
{{~#if _secondPage~}}
|
|
17
|
+
<div class="flex h-10">
|
|
18
|
+
{{> components/pagination/pagination_button_left_linked }}
|
|
19
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.firstPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
20
|
+
{{> components/button/components/button_label _label="1"}}
|
|
21
|
+
{{/components/button/link_button}}
|
|
22
|
+
{{#> components/button/link_button _size="lg" _variant="primary" _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
23
|
+
{{> components/button/components/button_label _label="2"}}
|
|
24
|
+
{{/components/button/link_button}}
|
|
25
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.lastPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
26
|
+
{{> components/button/components/button_label _label="3"}}
|
|
27
|
+
{{/components/button/link_button}}
|
|
28
|
+
{{> components/pagination/pagination_button_right_linked }}
|
|
29
|
+
</div>
|
|
30
|
+
{{else}}
|
|
31
|
+
<div class="flex h-10">
|
|
32
|
+
{{> components/pagination/pagination_button_left_linked }}
|
|
33
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.firstPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
34
|
+
{{> components/button/components/button_label _label="1"}}
|
|
35
|
+
{{/components/button/link_button}}
|
|
36
|
+
{{#> components/button/link_button _size="lg" _variant="secondary" _link=this.lastButOneItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
37
|
+
{{> components/button/components/button_label _label="2"}}
|
|
38
|
+
{{/components/button/link_button}}
|
|
39
|
+
{{#> components/button/link_button _size="lg" _variant="primary" _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
40
|
+
{{> components/button/components/button_label _label="3"}}
|
|
41
|
+
{{/components/button/link_button}}
|
|
42
|
+
{{> components/pagination/pagination_button_right }}
|
|
43
|
+
</div>
|
|
26
44
|
{{~/if~}}
|
|
27
45
|
{{~/if~}}
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
{{~#if _firstPage~}}
|
|
2
|
+
<div class="flex h-10">
|
|
2
3
|
{{> components/pagination/pagination_button_left }}
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
{{#> components/button/button _size="lg" _variant="primary" _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
5
|
+
{{> components/button/components/button_label _label="1"}}
|
|
6
|
+
{{/components/button/button}}
|
|
7
|
+
{{#> components/button/button _size="lg" _variant="secondary" _link=this.lastPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
8
|
+
{{> components/button/components/button_label _label="2"}}
|
|
9
|
+
{{/components/button/button}}
|
|
7
10
|
{{> components/pagination/pagination_button_right_linked }}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
<div class="
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
{{
|
|
11
|
+
</div>
|
|
12
|
+
{{else}}
|
|
13
|
+
<div class="flex h-10">
|
|
14
|
+
{{> components/pagination/pagination_button_left_linked }}
|
|
15
|
+
{{#> components/button/button _size="lg" _variant="secondary" _link=this.firstPageItemLink _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
16
|
+
{{> components/button/components/button_label _label="1"}}
|
|
17
|
+
{{/components/button/button}}
|
|
18
|
+
{{#> components/button/button _size="lg" _variant="primary" _css="mr-1 ml-1 pr-2 pl-2"}}
|
|
19
|
+
{{> components/button/components/button_label _label="2"}}
|
|
20
|
+
{{/components/button/button}}
|
|
21
|
+
{{> components/pagination/pagination_button_right }}
|
|
22
|
+
</div>
|
|
15
23
|
{{~/if~}}
|
package/dist/views/components/site_header/section_navigation/section_navigation_top_topics.hbs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<li class="order-1 w-full lg:mr-2 lg:w-auto lg:order-2">
|
|
2
|
-
<ul class="flex flex-row items-center w-full p-4 text-left list-none bg-
|
|
2
|
+
<ul class="flex flex-row items-center w-full p-4 text-left list-none bg-blue-linkWater lg:p-0 lg:bg-transparent lg:h-10">
|
|
3
3
|
{{#each this.items}}
|
|
4
|
-
<li class="{{#unless @last}}mr-3 {{/unless}}
|
|
5
|
-
{{#> components/
|
|
6
|
-
{{
|
|
7
|
-
|
|
4
|
+
<li class="{{#unless @last}}mr-3 {{/unless}}">
|
|
5
|
+
{{#> components/button/top_topics_button}}
|
|
6
|
+
<div class="sr-only">{{loca "label_top_thema"}}</div>
|
|
7
|
+
{{> components/button/components/button_label _label=this.text }}
|
|
8
|
+
{{/components/button/top_topics_button}}
|
|
8
9
|
</li>
|
|
9
10
|
{{/each}}
|
|
10
11
|
</ul>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{{/components/teaser/components/teaser_headline}}
|
|
23
23
|
{{/components/teaser/components/teaser_header}}
|
|
24
24
|
{{/components/base/link}}
|
|
25
|
-
<span class="absolute flex w-full h-full
|
|
25
|
+
<span class="absolute flex items-end justify-center w-full h-full ds-cta">
|
|
26
26
|
{{#> components/button/link_button _link=this.link _size="lg" _css=(inline-switch this.realTeaserSize '["33","50"]' '["z-20 mb-7","z-20 mb-7 md:mb-16"]') _variant="secondary" _isAriaHidden=true _onBackground=true}}
|
|
27
27
|
{{> components/button/components/button_label _css="" _label=this.link.readMoreText.readMoreLong}}
|
|
28
28
|
{{/components/button/link_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": "1.17.
|
|
9
|
+
"version": "1.17.2",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -6,11 +6,21 @@
|
|
|
6
6
|
"secondPage": false,
|
|
7
7
|
"notLastButOnePage": false,
|
|
8
8
|
"notLastPage": false,
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
9
|
+
"firstPageItemLink" : {
|
|
10
|
+
"url": "firstPage"
|
|
11
|
+
},
|
|
12
|
+
"nextItemLink" : {
|
|
13
|
+
"url": "nextItem"
|
|
14
|
+
},
|
|
15
|
+
"previousItemLink" : {
|
|
16
|
+
"url": "previousItem"
|
|
17
|
+
},
|
|
18
|
+
"lastPageItemLink" : {
|
|
19
|
+
"url": "lastPage"
|
|
20
|
+
},
|
|
21
|
+
"lastButOnePageItemLink" : {
|
|
22
|
+
"url": "LastButOnePage"
|
|
23
|
+
},
|
|
14
24
|
"totalPages": 4,
|
|
15
25
|
"currentPage": 2,
|
|
16
26
|
"currentPageIndex": 0,
|