hr-design-system-handlebars 1.36.1 → 1.36.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/.storybook/preview-head.html +9 -0
- package/CHANGELOG.md +13 -0
- package/dist/assets/index.css +12 -85
- package/package.json +1 -1
- package/tailwind.config.js +3 -0
|
@@ -8,4 +8,13 @@
|
|
|
8
8
|
see: https://github.com/storybookjs/storybook/issues/11706 -->
|
|
9
9
|
<script>
|
|
10
10
|
document.documentElement.setAttribute('lang', 'de')
|
|
11
|
+
|
|
12
|
+
// Javascript workaround damit darkmode nur in der Webview in Delivery funktioniert
|
|
13
|
+
// todo bessere Lösung finden !
|
|
14
|
+
function setColorScheme(e) {
|
|
15
|
+
e.matches ? document.getElementsByTagName("html")[0].classList.add("tw-dark") : document.getElementsByTagName("html")[0].classList.remove("tw-dark")
|
|
16
|
+
}
|
|
17
|
+
const darkModePreference = window.matchMedia("(prefers-color-scheme: dark)");
|
|
18
|
+
darkModePreference.addEventListener("change", setColorScheme);
|
|
19
|
+
|
|
11
20
|
</script>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# v1.36.2 (Fri Sep 01 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- workaround for enabling DarkMode only for WebView [#714](https://github.com/mumprod/hr-design-system-handlebars/pull/714) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
10
|
+
- selbaciri (saad.elbaciri@hr.de)
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
1
14
|
# v1.36.1 (Tue Aug 29 2023)
|
|
2
15
|
|
|
3
16
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -3034,7 +3034,7 @@ video {
|
|
|
3034
3034
|
border-bottom-color: var(--color-secondary-ds);
|
|
3035
3035
|
}
|
|
3036
3036
|
.counter-reset {
|
|
3037
|
-
counter-reset:
|
|
3037
|
+
counter-reset: cnt1693563242763;
|
|
3038
3038
|
}
|
|
3039
3039
|
.hyphens-auto {
|
|
3040
3040
|
-webkit-hyphens: auto;
|
|
@@ -3269,7 +3269,7 @@ video {
|
|
|
3269
3269
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3270
3270
|
}
|
|
3271
3271
|
.-ordered {
|
|
3272
|
-
counter-increment:
|
|
3272
|
+
counter-increment: cnt1693563242763 1;
|
|
3273
3273
|
}
|
|
3274
3274
|
.-ordered::before {
|
|
3275
3275
|
position: absolute;
|
|
@@ -3285,7 +3285,7 @@ video {
|
|
|
3285
3285
|
letter-spacing: .0125em;
|
|
3286
3286
|
--tw-text-opacity: 1;
|
|
3287
3287
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3288
|
-
content: counter(
|
|
3288
|
+
content: counter(cnt1693563242763);
|
|
3289
3289
|
}
|
|
3290
3290
|
/*! ****************************/
|
|
3291
3291
|
/*! DataPolicy stuff */
|
|
@@ -4928,90 +4928,17 @@ video {
|
|
|
4928
4928
|
.after\:col-full::after {
|
|
4929
4929
|
grid-column: full;
|
|
4930
4930
|
}
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
fill: #006eb7;
|
|
4935
|
-
fill: var(--color-link-dark);
|
|
4936
|
-
}
|
|
4937
|
-
|
|
4938
|
-
.dark\:text-link-dark {
|
|
4939
|
-
color: #006eb7;
|
|
4940
|
-
color: var(--color-link-dark);
|
|
4941
|
-
}
|
|
4942
|
-
|
|
4943
|
-
.dark\:text-text-dark {
|
|
4944
|
-
color: #F0F0F0;
|
|
4945
|
-
color: var(--color-standard-text-dark);
|
|
4946
|
-
}
|
|
4947
|
-
}
|
|
4948
|
-
@media (color: 48842621) {
|
|
4949
|
-
|
|
4950
|
-
.dark\:fill-link-dark {
|
|
4951
|
-
fill: #006eb7;
|
|
4952
|
-
fill: var(--color-link-dark);
|
|
4953
|
-
}
|
|
4954
|
-
|
|
4955
|
-
.dark\:text-link-dark {
|
|
4956
|
-
color: #006eb7;
|
|
4957
|
-
color: var(--color-link-dark);
|
|
4958
|
-
}
|
|
4959
|
-
|
|
4960
|
-
.dark\:text-text-dark {
|
|
4961
|
-
color: #F0F0F0;
|
|
4962
|
-
color: var(--color-standard-text-dark);
|
|
4963
|
-
}
|
|
4964
|
-
}
|
|
4965
|
-
@media (color-index: 48) {
|
|
4966
|
-
|
|
4967
|
-
.dark\:fill-link-dark {
|
|
4968
|
-
fill: #006eb7;
|
|
4969
|
-
fill: var(--color-link-dark);
|
|
4970
|
-
}
|
|
4971
|
-
|
|
4972
|
-
.dark\:text-link-dark {
|
|
4973
|
-
color: #006eb7;
|
|
4974
|
-
color: var(--color-link-dark);
|
|
4975
|
-
}
|
|
4976
|
-
|
|
4977
|
-
.dark\:text-text-dark {
|
|
4978
|
-
color: #F0F0F0;
|
|
4979
|
-
color: var(--color-standard-text-dark);
|
|
4980
|
-
}
|
|
4931
|
+
[class~='tw-dark'] .dark\:fill-link-dark {
|
|
4932
|
+
fill: #006eb7;
|
|
4933
|
+
fill: var(--color-link-dark);
|
|
4981
4934
|
}
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
fill: #006eb7;
|
|
4986
|
-
fill: var(--color-link-dark);
|
|
4987
|
-
}
|
|
4988
|
-
|
|
4989
|
-
.dark\:text-link-dark {
|
|
4990
|
-
color: #006eb7;
|
|
4991
|
-
color: var(--color-link-dark);
|
|
4992
|
-
}
|
|
4993
|
-
|
|
4994
|
-
.dark\:text-text-dark {
|
|
4995
|
-
color: #F0F0F0;
|
|
4996
|
-
color: var(--color-standard-text-dark);
|
|
4997
|
-
}
|
|
4935
|
+
[class~='tw-dark'] .dark\:text-link-dark {
|
|
4936
|
+
color: #006eb7;
|
|
4937
|
+
color: var(--color-link-dark);
|
|
4998
4938
|
}
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
fill: #006eb7;
|
|
5003
|
-
fill: var(--color-link-dark);
|
|
5004
|
-
}
|
|
5005
|
-
|
|
5006
|
-
.dark\:text-link-dark {
|
|
5007
|
-
color: #006eb7;
|
|
5008
|
-
color: var(--color-link-dark);
|
|
5009
|
-
}
|
|
5010
|
-
|
|
5011
|
-
.dark\:text-text-dark {
|
|
5012
|
-
color: #F0F0F0;
|
|
5013
|
-
color: var(--color-standard-text-dark);
|
|
5014
|
-
}
|
|
4939
|
+
[class~='tw-dark'] .dark\:text-text-dark {
|
|
4940
|
+
color: #F0F0F0;
|
|
4941
|
+
color: var(--color-standard-text-dark);
|
|
5015
4942
|
}
|
|
5016
4943
|
@media print {
|
|
5017
4944
|
|
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.36.
|
|
9
|
+
"version": "1.36.2",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
package/tailwind.config.js
CHANGED
|
@@ -3,6 +3,9 @@ const flattenColorPalette = require('tailwindcss/lib/util/flattenColorPalette').
|
|
|
3
3
|
|
|
4
4
|
/** @type {import('tailwindcss').Config} */
|
|
5
5
|
module.exports = {
|
|
6
|
+
// workaround damit darkmode nur in der Webview in Delivery funktioniert
|
|
7
|
+
darkMode: ['class', "[class~='tw-dark']"],
|
|
8
|
+
|
|
6
9
|
experimental: {
|
|
7
10
|
optimizeUniversalDefaults: true,
|
|
8
11
|
},
|