hr-design-system-handlebars 0.39.2 → 0.40.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
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.40.0 (Tue Apr 05 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Adjusted font sizes to fit design requirements [#204](https://github.com/mumprod/hr-design-system-handlebars/pull/204) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.39.2 (Mon Apr 04 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -2147,7 +2147,7 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2147
2147
|
line-height: 1.75rem;
|
|
2148
2148
|
}
|
|
2149
2149
|
.text-2xl {
|
|
2150
|
-
font-size: 1.
|
|
2150
|
+
font-size: 1.375rem;
|
|
2151
2151
|
line-height: 2rem;
|
|
2152
2152
|
}
|
|
2153
2153
|
.text-3xl {
|
|
@@ -2155,12 +2155,8 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2155
2155
|
line-height: 2.25rem;
|
|
2156
2156
|
}
|
|
2157
2157
|
.text-4xl {
|
|
2158
|
-
font-size:
|
|
2159
|
-
line-height: 2.
|
|
2160
|
-
}
|
|
2161
|
-
.text-22Px {
|
|
2162
|
-
font-size: 1.375rem;
|
|
2163
|
-
line-height: 1.875rem;
|
|
2158
|
+
font-size: 2rem;
|
|
2159
|
+
line-height: 2.25rem;
|
|
2164
2160
|
}
|
|
2165
2161
|
.text-5xl {
|
|
2166
2162
|
font-size: 3rem;
|
|
@@ -2626,9 +2622,9 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2626
2622
|
.md\:pl-0 {
|
|
2627
2623
|
padding-left: 0px;
|
|
2628
2624
|
}
|
|
2629
|
-
.md\:text-
|
|
2630
|
-
font-size:
|
|
2631
|
-
line-height: 2.
|
|
2625
|
+
.md\:text-4xl {
|
|
2626
|
+
font-size: 2rem;
|
|
2627
|
+
line-height: 2.25rem;
|
|
2632
2628
|
}
|
|
2633
2629
|
.md\:drop-shadow-md {
|
|
2634
2630
|
--tw-drop-shadow: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.07));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<span class="block {{inline-switch size '["lg","md","sm"]' '["text-
|
|
1
|
+
<span class="block {{inline-switch size '["lg","md","sm"]' '["text-2xl md:text-4xl","text-2xl","text-lg"]'}} font-headingSerif mt-0.5">{{text}}</span>
|
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.
|
|
9
|
+
"version": "0.40.0",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -92,9 +92,9 @@ Zur Auszeichnung von Überschriften stehen die folgenden Utility Klassen zur ver
|
|
|
92
92
|
| `font-heading` | `font-family: RobotoCond, sans-serif` | | Setzt die Eigenschaft `font-family` |
|
|
93
93
|
| `text-lg` | `font-size: 1.125rem` <br /> `line-height: 1.75rem` | `18px`<br />`28px` | Setzt die Eigenschaften `font-size` und `line-height` |
|
|
94
94
|
| `text-xl` | `font-size: 1.25rem` <br /> `line-height: 1.75rem` | `20px`<br />`28px` | Setzt die Eigenschaften `font-size` und `line-height` |
|
|
95
|
-
| `text-2xl` | `font-size: 1.
|
|
95
|
+
| `text-2xl` | `font-size: 1.375rem` <br /> `line-height: 2rem` | `22px`<br />`32px` | Setzt die Eigenschaften `font-size` und `line-height` |
|
|
96
96
|
| `text-3xl` | `font-size: 1.875rem` <br /> `line-height: 2.25rem` | `30px`<br />`36px` | Setzt die Eigenschaften `font-size` und `line-height` |
|
|
97
|
-
| `text-4xl` | `font-size:
|
|
97
|
+
| `text-4xl` | `font-size: 2rem` <br /> `line-height: 2.25rem` | `32px`<br />`36px` | Setzt die Eigenschaften `font-size` und `line-height` |
|
|
98
98
|
|
|
99
99
|
### Verwendung RobotoSlab
|
|
100
100
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<span class="block {{inline-switch size '["lg","md","sm"]' '["text-
|
|
1
|
+
<span class="block {{inline-switch size '["lg","md","sm"]' '["text-2xl md:text-4xl","text-2xl","text-lg"]'}} font-headingSerif mt-0.5">{{text}}</span>
|
package/tailwind.config.js
CHANGED
|
@@ -35,10 +35,11 @@ module.exports = {
|
|
|
35
35
|
wider: '.025em',
|
|
36
36
|
widest: '.05em',
|
|
37
37
|
},
|
|
38
|
+
|
|
38
39
|
extend: {
|
|
39
40
|
fontSize: {
|
|
40
|
-
'
|
|
41
|
-
'
|
|
41
|
+
'2xl':['1.375rem', '2rem'],
|
|
42
|
+
'4xl':['2rem', '2.25rem'],
|
|
42
43
|
},
|
|
43
44
|
boxShadow: {
|
|
44
45
|
inner: 'inset 0 0px 5px 0 rgba(0, 0, 0, 0.25)',
|