hr-design-system-handlebars 1.10.0 → 1.11.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
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
#### 🚀 Enhancement
|
|
4
4
|
|
|
5
|
+
- Dpe 1605 [#590](https://github.com/mumprod/hr-design-system-handlebars/pull/590) ([@Paul-Atreidis](https://github.com/Paul-Atreidis) [@mariokinzel](https://github.com/mariokinzel))
|
|
5
6
|
- Documentation for Teaser-Heading [#589](https://github.com/mumprod/hr-design-system-handlebars/pull/589) ([@Paul-Atreidis](https://github.com/Paul-Atreidis) [@mariokinzel](https://github.com/mariokinzel))
|
|
6
7
|
|
|
7
8
|
#### Authors: 2
|
package/dist/assets/index.css
CHANGED
|
@@ -2667,7 +2667,7 @@ video {
|
|
|
2667
2667
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2668
2668
|
}
|
|
2669
2669
|
.counter-reset {
|
|
2670
|
-
counter-reset:
|
|
2670
|
+
counter-reset: cnt1679312597784;
|
|
2671
2671
|
}
|
|
2672
2672
|
.line-clamp-4 {
|
|
2673
2673
|
overflow: hidden;
|
|
@@ -2901,7 +2901,7 @@ video {
|
|
|
2901
2901
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2902
2902
|
}
|
|
2903
2903
|
.-ordered {
|
|
2904
|
-
counter-increment:
|
|
2904
|
+
counter-increment: cnt1679312597784 1;
|
|
2905
2905
|
}
|
|
2906
2906
|
.-ordered::before {
|
|
2907
2907
|
position: absolute;
|
|
@@ -2917,7 +2917,7 @@ video {
|
|
|
2917
2917
|
letter-spacing: .0125em;
|
|
2918
2918
|
--tw-text-opacity: 1;
|
|
2919
2919
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2920
|
-
content: counter(
|
|
2920
|
+
content: counter(cnt1679312597784);
|
|
2921
2921
|
}
|
|
2922
2922
|
/*! ****************************/
|
|
2923
2923
|
/*! text-shadow */
|
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.
|
|
9
|
+
"version": "1.11.0",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ArgsTable, Meta, Story, Preview } from '@storybook/addon-docs'
|
|
1
|
+
import { ArgsTable, Meta, Story, Canvas, Preview } from '@storybook/addon-docs'
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import teaserText from './teaser_text.hbs'
|
|
4
4
|
|
|
5
5
|
<Meta
|
|
6
6
|
title="Komponenten/Teaser/Komponenten/Teasertext"
|
|
@@ -22,36 +22,73 @@ import teaserTextComponent from './teaser_text.hbs'
|
|
|
22
22
|
/>
|
|
23
23
|
|
|
24
24
|
export const Template = ({ _text, ...args }) => {
|
|
25
|
-
return
|
|
25
|
+
return teaserText({ _text, ...args })
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
#
|
|
28
|
+
# Teaser-Text
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
Im Teaser folgt nach dem Heading der Text. Diesem beigefügt ein "Mehr"-Link oder ein Link auf eine externe Seite.
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
# Teil-Komponenten
|
|
33
|
+
N/A
|
|
34
|
+
|
|
35
|
+
## Teaser-Text Hero
|
|
36
|
+
<Canvas>
|
|
33
37
|
<Story
|
|
34
|
-
name="Teasertext"
|
|
38
|
+
name="Teasertext Hero"
|
|
35
39
|
args={{
|
|
36
|
-
_text: '
|
|
40
|
+
_text: 'Woibbadinga i moan scho aa hallelujah sog i, luja, boarischer. Wiesn resch ja, wo samma denn etza, resch. Auffisteign a Hoiwe woaß, koa. Leonhardifahrt Weißwiaschd Baamwach hob liberalitas Bavariae ham hogg di hera.',
|
|
41
|
+
_size: 'hero',
|
|
42
|
+
_font: 'md:text-base md:leading-4 lg:leading-5',
|
|
43
|
+
}}
|
|
44
|
+
>
|
|
45
|
+
{Template.bind({})}
|
|
46
|
+
</Story>
|
|
47
|
+
</Canvas>
|
|
48
|
+
|
|
49
|
+
## Teaser-Text 50%
|
|
50
|
+
|
|
51
|
+
<Canvas>
|
|
52
|
+
<Story
|
|
53
|
+
name="Teasertext 50"
|
|
54
|
+
args={{
|
|
55
|
+
_text: 'Woibbadinga i moan scho aa hallelujah sog i, luja, boarischer. Wiesn resch ja, wo samma denn etza, resch. Auffisteign a Hoiwe woaß, koa. Leonhardifahrt Weißwiaschd Baamwach hob liberalitas Bavariae ham hogg di hera.',
|
|
37
56
|
_size: '50',
|
|
57
|
+
_font: 'md:text-base md:leading-4 lg:leading-5',
|
|
38
58
|
}}
|
|
39
59
|
>
|
|
40
60
|
{Template.bind({})}
|
|
41
61
|
</Story>
|
|
62
|
+
</Canvas>
|
|
63
|
+
|
|
64
|
+
## Teaser-Text 33%
|
|
65
|
+
|
|
66
|
+
<Canvas>
|
|
42
67
|
<Story
|
|
43
|
-
name="Teasertext
|
|
68
|
+
name="Teasertext 33"
|
|
44
69
|
args={{
|
|
45
|
-
_text: '
|
|
46
|
-
_size: '
|
|
70
|
+
_text: 'Woibbadinga i moan scho aa hallelujah sog i, luja, boarischer. Wiesn resch ja, wo samma denn etza, resch. Auffisteign a Hoiwe woaß, koa. Leonhardifahrt Weißwiaschd Baamwach hob liberalitas Bavariae ham hogg di hera.',
|
|
71
|
+
_size: '33',
|
|
47
72
|
_font: 'md:text-base md:leading-4 lg:leading-5',
|
|
48
73
|
}}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
74
|
+
>
|
|
75
|
+
{Template.bind({})}
|
|
76
|
+
</Story>
|
|
77
|
+
</Canvas>
|
|
78
|
+
|
|
79
|
+
## Teaser-Text 25%
|
|
80
|
+
|
|
81
|
+
<Canvas>
|
|
82
|
+
<Story
|
|
83
|
+
name="Teasertext 25"
|
|
84
|
+
args={{
|
|
85
|
+
_text: 'Woibbadinga i moan scho aa hallelujah sog i, luja, boarischer. Wiesn resch ja, wo samma denn etza, resch. Auffisteign a Hoiwe woaß, koa. Leonhardifahrt Weißwiaschd Baamwach hob liberalitas Bavariae ham hogg di hera.',
|
|
86
|
+
_size: '25',
|
|
87
|
+
_font: 'md:text-base md:leading-4 lg:leading-5',
|
|
53
88
|
}}
|
|
54
89
|
>
|
|
55
90
|
{Template.bind({})}
|
|
56
91
|
</Story>
|
|
57
|
-
</
|
|
92
|
+
</Canvas>
|
|
93
|
+
|
|
94
|
+
|