hr-design-system-handlebars 1.63.14 → 1.63.15
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/.github/workflows/chromatic.yml +1 -1
- package/CHANGELOG.md +12 -0
- package/dist/assets/index.css +13 -3
- package/dist/views/components/site_header/service_navigation/service_navigation_item.hbs +1 -1
- package/dist/views_static/components/site_header/service_navigation/service_navigation_item.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/css/custom-components.css +2 -1
- package/src/assets/tailwind.css +3 -0
- package/src/stories/views/components/site_header/service_navigation/service_navigation_item.hbs +1 -1
- package/tailwind.config.js +2 -0
|
@@ -21,7 +21,7 @@ jobs:
|
|
|
21
21
|
run: yarn
|
|
22
22
|
- name: create partials
|
|
23
23
|
run: yarn partialsToJs
|
|
24
|
-
- uses: chromaui/action@
|
|
24
|
+
- uses: chromaui/action@latest
|
|
25
25
|
with:
|
|
26
26
|
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
|
|
27
27
|
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v1.63.15 (Tue Apr 16 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- DPE-2669 Dark mode for Content-Navi [#908](https://github.com/mumprod/hr-design-system-handlebars/pull/908) ([@Sunny1112358](https://github.com/Sunny1112358))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- [@Sunny1112358](https://github.com/Sunny1112358)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v1.63.14 (Fri Apr 12 2024)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -718,6 +718,13 @@ video {
|
|
|
718
718
|
font-family: DIN, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
|
|
719
719
|
list-style-type: none;
|
|
720
720
|
border-color: var(--color-button--dark);
|
|
721
|
+
}
|
|
722
|
+
[class~='tw-dark'] .content-nav-item {
|
|
723
|
+
border-color: #759ace;
|
|
724
|
+
border-color: var(--color-navigation-border-color-dark);
|
|
725
|
+
--tw-border-opacity: 0.75;
|
|
726
|
+
}
|
|
727
|
+
.content-nav-item {
|
|
721
728
|
fill: #005293;
|
|
722
729
|
fill: var(--color-content-nav);
|
|
723
730
|
color: #005293;
|
|
@@ -3341,7 +3348,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3341
3348
|
border-bottom-color: var(--color-secondary-ds);
|
|
3342
3349
|
}
|
|
3343
3350
|
.counter-reset {
|
|
3344
|
-
counter-reset:
|
|
3351
|
+
counter-reset: cnt1713263195329;
|
|
3345
3352
|
}
|
|
3346
3353
|
.hyphens-auto {
|
|
3347
3354
|
-webkit-hyphens: auto;
|
|
@@ -3720,7 +3727,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3720
3727
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3721
3728
|
}
|
|
3722
3729
|
.-ordered {
|
|
3723
|
-
counter-increment:
|
|
3730
|
+
counter-increment: cnt1713263195329 1;
|
|
3724
3731
|
}
|
|
3725
3732
|
.-ordered::before {
|
|
3726
3733
|
position: absolute;
|
|
@@ -3736,7 +3743,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3736
3743
|
letter-spacing: .0125em;
|
|
3737
3744
|
--tw-text-opacity: 1;
|
|
3738
3745
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3739
|
-
content: counter(
|
|
3746
|
+
content: counter(cnt1713263195329);
|
|
3740
3747
|
}
|
|
3741
3748
|
/*! ****************************/
|
|
3742
3749
|
/*! DataPolicy stuff */
|
|
@@ -3879,6 +3886,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3879
3886
|
--color-search-footer-text: #000000;
|
|
3880
3887
|
--search-icon-color: #000000;
|
|
3881
3888
|
|
|
3889
|
+
/* Content navi button border color for dark mode */
|
|
3890
|
+
--color-navigation-border-color-dark: #759ace;
|
|
3891
|
+
|
|
3882
3892
|
/* Logo-Container Padding */
|
|
3883
3893
|
--logo-padding-top: 6px;
|
|
3884
3894
|
--logo-padding-bottom: 6px;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#each this.navigationItems}}
|
|
2
|
-
<li class="sb-service-navigation-item -{{this.id}} flex flex-col h-10 lg:h-15 md:h-full w-full tablet:first:border-l border-r last:border-r-0 lg:border-r-0 text-navigation-icons border-navigation-border-color"
|
|
2
|
+
<li class="sb-service-navigation-item -{{this.id}} flex flex-col h-10 lg:h-15 md:h-full w-full tablet:first:border-l border-r last:border-r-0 lg:border-r-0 text-navigation-icons border-navigation-border-color">
|
|
3
3
|
{{#if this.subNavigation}}
|
|
4
4
|
<button
|
|
5
5
|
id="{{nextRandom}}"
|
package/dist/views_static/components/site_header/service_navigation/service_navigation_item.hbs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#each this.navigationItems}}
|
|
2
|
-
<li class="sb-service-navigation-item -{{this.id}} flex flex-col h-10 lg:h-15 md:h-full w-full tablet:first:border-l border-r last:border-r-0 lg:border-r-0 text-navigation-icons border-navigation-border-color"
|
|
2
|
+
<li class="sb-service-navigation-item -{{this.id}} flex flex-col h-10 lg:h-15 md:h-full w-full tablet:first:border-l border-r last:border-r-0 lg:border-r-0 text-navigation-icons border-navigation-border-color">
|
|
3
3
|
{{#if this.subNavigation}}
|
|
4
4
|
<button
|
|
5
5
|
id="{{nextRandom}}"
|
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.63.
|
|
9
|
+
"version": "1.63.15",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -170,7 +170,8 @@
|
|
|
170
170
|
@apply text-base;
|
|
171
171
|
@apply font-copy;
|
|
172
172
|
@apply list-none;
|
|
173
|
-
@apply border-button--dark;
|
|
173
|
+
@apply border-button--dark dark:border-navigation-border-color-dark;
|
|
174
|
+
@apply dark:border-opacity-75;
|
|
174
175
|
@apply fill-content-nav;
|
|
175
176
|
@apply text-content-nav;
|
|
176
177
|
@apply bg-white;
|
package/src/assets/tailwind.css
CHANGED
|
@@ -45,6 +45,9 @@
|
|
|
45
45
|
--color-search-footer-text: theme('colors.black.DEFAULT');
|
|
46
46
|
--search-icon-color: theme('colors.black.DEFAULT');
|
|
47
47
|
|
|
48
|
+
/* Content navi button border color for dark mode */
|
|
49
|
+
--color-navigation-border-color-dark: theme('colors.blue.danube');
|
|
50
|
+
|
|
48
51
|
/* Logo-Container Padding */
|
|
49
52
|
--logo-padding-top: 6px;
|
|
50
53
|
--logo-padding-bottom: 6px;
|
package/src/stories/views/components/site_header/service_navigation/service_navigation_item.hbs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#each this.navigationItems}}
|
|
2
|
-
<li class="sb-service-navigation-item -{{this.id}} flex flex-col h-10 lg:h-15 md:h-full w-full tablet:first:border-l border-r last:border-r-0 lg:border-r-0 text-navigation-icons border-navigation-border-color"
|
|
2
|
+
<li class="sb-service-navigation-item -{{this.id}} flex flex-col h-10 lg:h-15 md:h-full w-full tablet:first:border-l border-r last:border-r-0 lg:border-r-0 text-navigation-icons border-navigation-border-color">
|
|
3
3
|
{{#if this.subNavigation}}
|
|
4
4
|
<button
|
|
5
5
|
id="{{nextRandom}}"
|
package/tailwind.config.js
CHANGED
|
@@ -270,6 +270,7 @@ module.exports = {
|
|
|
270
270
|
linkWater: '#d3e2f4',
|
|
271
271
|
blueLuxury: '#007396',
|
|
272
272
|
nightRider:'#2d2d2d',
|
|
273
|
+
danube: '#759ace',
|
|
273
274
|
},
|
|
274
275
|
'black': {
|
|
275
276
|
DEFAULT: '#000000',
|
|
@@ -362,6 +363,7 @@ module.exports = {
|
|
|
362
363
|
'brandnav-pseudo': 'var(--color-brandnav-pseudo)',
|
|
363
364
|
'brandnavigation-bg': 'var(--color-brandnavigation-bg)',
|
|
364
365
|
'navigation-border-color': 'var(--color-navigation-border-color)',
|
|
366
|
+
'navigation-border-color-dark': 'var(--color-navigation-border-color-dark)',
|
|
365
367
|
'servicenavigation-border-color': 'var(--color-servicenavigation-border-color)',
|
|
366
368
|
'footer-bg': 'var(--color-footer-bg)',
|
|
367
369
|
'footer-text': 'var(--color-footer-text)',
|