hr-design-system-handlebars 1.35.13 → 1.35.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/CHANGELOG.md CHANGED
@@ -1,3 +1,29 @@
1
+ # v1.35.15 (Thu Aug 17 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Dark mode styling for accordion in webview [#711](https://github.com/mumprod/hr-design-system-handlebars/pull/711) (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
+
14
+ # v1.35.14 (Fri Aug 11 2023)
15
+
16
+ #### 🐛 Bug Fix
17
+
18
+ - Footer Search: Suggestions open upward [#710](https://github.com/mumprod/hr-design-system-handlebars/pull/710) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
19
+
20
+ #### Authors: 2
21
+
22
+ - Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
23
+ - selbaciri (saad.elbaciri@hr.de)
24
+
25
+ ---
26
+
1
27
  # v1.35.13 (Fri Aug 11 2023)
2
28
 
3
29
  #### 🐛 Bug Fix
@@ -1745,6 +1745,9 @@ video {
1745
1745
  .flex-col {
1746
1746
  flex-direction: column;
1747
1747
  }
1748
+ .flex-col-reverse {
1749
+ flex-direction: column-reverse;
1750
+ }
1748
1751
  .flex-wrap {
1749
1752
  flex-wrap: wrap;
1750
1753
  }
@@ -1802,6 +1805,9 @@ video {
1802
1805
  -moz-column-gap: 1.5rem;
1803
1806
  column-gap: 1.5rem;
1804
1807
  }
1808
+ .gap-y-1 {
1809
+ row-gap: 0.25rem;
1810
+ }
1805
1811
  .gap-y-10 {
1806
1812
  row-gap: 2.5rem;
1807
1813
  }
@@ -3025,7 +3031,7 @@ video {
3025
3031
  border-bottom-color: var(--color-secondary-ds);
3026
3032
  }
3027
3033
  .counter-reset {
3028
- counter-reset: cnt1691753693775;
3034
+ counter-reset: cnt1692280696557;
3029
3035
  }
3030
3036
  .hyphens-auto {
3031
3037
  -webkit-hyphens: auto;
@@ -3260,7 +3266,7 @@ video {
3260
3266
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3261
3267
  }
3262
3268
  .-ordered {
3263
- counter-increment: cnt1691753693775 1;
3269
+ counter-increment: cnt1692280696557 1;
3264
3270
  }
3265
3271
  .-ordered::before {
3266
3272
  position: absolute;
@@ -3276,7 +3282,7 @@ video {
3276
3282
  letter-spacing: .0125em;
3277
3283
  --tw-text-opacity: 1;
3278
3284
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3279
- content: counter(cnt1691753693775);
3285
+ content: counter(cnt1692280696557);
3280
3286
  }
3281
3287
  /*! ****************************/
3282
3288
  /*! DataPolicy stuff */
@@ -4918,6 +4924,11 @@ video {
4918
4924
  }
4919
4925
  @media (color-index: 48) {
4920
4926
 
4927
+ .dark\:fill-link-dark {
4928
+ fill: #006eb7;
4929
+ fill: var(--color-link-dark);
4930
+ }
4931
+
4921
4932
  .dark\:text-link-dark {
4922
4933
  color: #006eb7;
4923
4934
  color: var(--color-link-dark);
@@ -4930,6 +4941,11 @@ video {
4930
4941
  }
4931
4942
  @media (color: 48842621) {
4932
4943
 
4944
+ .dark\:fill-link-dark {
4945
+ fill: #006eb7;
4946
+ fill: var(--color-link-dark);
4947
+ }
4948
+
4933
4949
  .dark\:text-link-dark {
4934
4950
  color: #006eb7;
4935
4951
  color: var(--color-link-dark);
@@ -4942,6 +4958,11 @@ video {
4942
4958
  }
4943
4959
  @media (color-index: 48) {
4944
4960
 
4961
+ .dark\:fill-link-dark {
4962
+ fill: #006eb7;
4963
+ fill: var(--color-link-dark);
4964
+ }
4965
+
4945
4966
  .dark\:text-link-dark {
4946
4967
  color: #006eb7;
4947
4968
  color: var(--color-link-dark);
@@ -4954,6 +4975,11 @@ video {
4954
4975
  }
4955
4976
  @media (color: 48842621) {
4956
4977
 
4978
+ .dark\:fill-link-dark {
4979
+ fill: #006eb7;
4980
+ fill: var(--color-link-dark);
4981
+ }
4982
+
4957
4983
  .dark\:text-link-dark {
4958
4984
  color: #006eb7;
4959
4985
  color: var(--color-link-dark);
@@ -4966,6 +4992,11 @@ video {
4966
4992
  }
4967
4993
  @media (prefers-color-scheme: dark) {
4968
4994
 
4995
+ .dark\:fill-link-dark {
4996
+ fill: #006eb7;
4997
+ fill: var(--color-link-dark);
4998
+ }
4999
+
4969
5000
  .dark\:text-link-dark {
4970
5001
  color: #006eb7;
4971
5002
  color: var(--color-link-dark);
@@ -1,5 +1,5 @@
1
1
  {{#if this.title}}
2
- <h2 class="mb-5 text-lg font-normal accordion mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
2
+ <h2 class="mb-5 text-lg font-normal accordion mt-11 sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.title}}</h2>
3
3
  {{/if}}
4
4
  <div x-cloak x-data="{selected:0}" class="pb-11{{#unless this.title}} mt-11{{/unless}}">
5
5
  {{#each this.copytextParagraph }}
@@ -13,12 +13,12 @@
13
13
  aria-controls="accordionItem{{getRandom}}"
14
14
  >
15
15
  <div class="flex flex-row justify-between border-t basis-10/12 content-evenly border-gray-alto">
16
- <h3 aria-hidden="true" :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif">{{{this.text}}}</h3>
16
+ <h3 aria-hidden="true" :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif dark:text-text-dark">{{{this.text}}}</h3>
17
17
  <span :class="selected == {{getRandom}} ? 'hidden' : ''">
18
- {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
18
+ {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current dark:fill-link-dark"}}
19
19
  </span>
20
20
  <span :class="selected !== {{getRandom}} ? 'hidden' : ''">
21
- {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
21
+ {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current dark:fill-link-dark"}}
22
22
  </span>
23
23
  </div>
24
24
  </button>
@@ -1,6 +1,6 @@
1
1
  <div class="relative mx-auto ">
2
2
  <div class="flex px-8 pt-4 md:pt-0 md:px-0">
3
- {{> components/site_header/navigation_search/quick_search_form }}
3
+ {{> components/site_header/navigation_search/quick_search_form _footer=true }}
4
4
  </div>
5
5
 
6
6
  </div>
@@ -6,7 +6,7 @@
6
6
  class="relative flex w-full border rounded lg:search-border-desktop search-border-mobile sb-quick-search-form md:justify-end"
7
7
  >
8
8
  <div
9
- class="flex w-full lg:h-10"
9
+ class="flex {{~#if _footer}} flex-col-reverse h-10 gap-y-1 {{else}} lg:h-10 {{/if}} w-full"
10
10
  id="search-content"
11
11
  @click.away="active=false; cursorIndex=-1"
12
12
  @keydown.arrow-down="moveDownList()"
@@ -19,7 +19,7 @@
19
19
  name="query"
20
20
  x-model="query"
21
21
  placeholder='{{loca "search_input_placeholder" }}'
22
- class="w-full px-2 py-2 text-base leading-4 placeholder-opacity-100 rounded-l shadow-inner appearance-none lg:top-10 placeholder-text-xs placeholder-secondary text-secondary focus:outline-none"
22
+ class="w-full px-2 {{~#if _footer}} py-3 {{else}} py-2 {{/if}} text-base leading-4 placeholder-opacity-100 rounded-l shadow-inner appearance-none lg:top-10 placeholder-text-xs placeholder-secondary text-secondary focus:outline-none"
23
23
  type="text"
24
24
  id="searchInput--{{getRandom}}"
25
25
  autocomplete="off"
@@ -31,7 +31,7 @@
31
31
  aria-controls="suggestionlist--{{getRandom}}"
32
32
  >
33
33
  <div
34
- class="absolute left-0 w-auto min-w-full z-100 top-8 lg:top-10"
34
+ class="{{~#unless _footer}} absolute {{/unless}}left-0 w-auto min-w-full z-100 top-8 lg:top-10"
35
35
  x-show="query.length > 1 && active && suggestions.length"
36
36
  x-cloak
37
37
  x-transition:leave="transition ease-in duration-100"
@@ -1,5 +1,5 @@
1
1
  {{#if this.title}}
2
- <h2 class="mb-5 text-lg font-normal accordion mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
2
+ <h2 class="mb-5 text-lg font-normal accordion mt-11 sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.title}}</h2>
3
3
  {{/if}}
4
4
  <div x-cloak x-data="{selected:0}" class="pb-11{{#unless this.title}} mt-11{{/unless}}">
5
5
  {{#each this.copytextParagraph }}
@@ -13,12 +13,12 @@
13
13
  aria-controls="accordionItem{{getRandom}}"
14
14
  >
15
15
  <div class="flex flex-row justify-between border-t basis-10/12 content-evenly border-gray-alto">
16
- <h3 aria-hidden="true" :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif">{{{this.text}}}</h3>
16
+ <h3 aria-hidden="true" :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif dark:text-text-dark">{{{this.text}}}</h3>
17
17
  <span :class="selected == {{getRandom}} ? 'hidden' : ''">
18
- {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
18
+ {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current dark:fill-link-dark"}}
19
19
  </span>
20
20
  <span :class="selected !== {{getRandom}} ? 'hidden' : ''">
21
- {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
21
+ {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current dark:fill-link-dark"}}
22
22
  </span>
23
23
  </div>
24
24
  </button>
@@ -1,6 +1,6 @@
1
1
  <div class="relative mx-auto ">
2
2
  <div class="flex px-8 pt-4 md:pt-0 md:px-0">
3
- {{> components/site_header/navigation_search/quick_search_form }}
3
+ {{> components/site_header/navigation_search/quick_search_form _footer=true }}
4
4
  </div>
5
5
 
6
6
  </div>
@@ -6,7 +6,7 @@
6
6
  class="relative flex w-full border rounded lg:search-border-desktop search-border-mobile sb-quick-search-form md:justify-end"
7
7
  >
8
8
  <div
9
- class="flex w-full lg:h-10"
9
+ class="flex {{~#if _footer}} flex-col-reverse h-10 gap-y-1 {{else}} lg:h-10 {{/if}} w-full"
10
10
  id="search-content"
11
11
  @click.away="active=false; cursorIndex=-1"
12
12
  @keydown.arrow-down="moveDownList()"
@@ -19,7 +19,7 @@
19
19
  name="query"
20
20
  x-model="query"
21
21
  placeholder='{{loca "search_input_placeholder" }}'
22
- class="w-full px-2 py-2 text-base leading-4 placeholder-opacity-100 rounded-l shadow-inner appearance-none lg:top-10 placeholder-text-xs placeholder-secondary text-secondary focus:outline-none"
22
+ class="w-full px-2 {{~#if _footer}} py-3 {{else}} py-2 {{/if}} text-base leading-4 placeholder-opacity-100 rounded-l shadow-inner appearance-none lg:top-10 placeholder-text-xs placeholder-secondary text-secondary focus:outline-none"
23
23
  type="text"
24
24
  id="searchInput--{{getRandom}}"
25
25
  autocomplete="off"
@@ -31,7 +31,7 @@
31
31
  aria-controls="suggestionlist--{{getRandom}}"
32
32
  >
33
33
  <div
34
- class="absolute left-0 w-auto min-w-full z-100 top-8 lg:top-10"
34
+ class="{{~#unless _footer}} absolute {{/unless}}left-0 w-auto min-w-full z-100 top-8 lg:top-10"
35
35
  x-show="query.length > 1 && active && suggestions.length"
36
36
  x-cloak
37
37
  x-transition:leave="transition ease-in duration-100"
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.35.13",
9
+ "version": "1.35.15",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -1,5 +1,5 @@
1
1
  {{#if this.title}}
2
- <h2 class="mb-5 text-lg font-normal accordion mt-11 sm480:text-2xl font-headingSerif">{{this.title}}</h2>
2
+ <h2 class="mb-5 text-lg font-normal accordion mt-11 sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.title}}</h2>
3
3
  {{/if}}
4
4
  <div x-cloak x-data="{selected:0}" class="pb-11{{#unless this.title}} mt-11{{/unless}}">
5
5
  {{#each this.copytextParagraph }}
@@ -13,12 +13,12 @@
13
13
  aria-controls="accordionItem{{getRandom}}"
14
14
  >
15
15
  <div class="flex flex-row justify-between border-t basis-10/12 content-evenly border-gray-alto">
16
- <h3 aria-hidden="true" :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif">{{{this.text}}}</h3>
16
+ <h3 aria-hidden="true" :class="selected !== {{getRandom}} ? 'line-clamp-2' : ''" class="hover:text-toplineColor self-center my-3.5 text-base font-normal sm480:my-5 sm480:text-lg font-headingSerif dark:text-text-dark">{{{this.text}}}</h3>
17
17
  <span :class="selected == {{getRandom}} ? 'hidden' : ''">
18
- {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
18
+ {{> components/base/image/icon _icon="plus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current dark:fill-link-dark"}}
19
19
  </span>
20
20
  <span :class="selected !== {{getRandom}} ? 'hidden' : ''">
21
- {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current"}}
21
+ {{> components/base/image/icon _icon="minus" _addClass="hover:text-toplineColor mx-5 mt-2 sm480:mt-4 w-8 h-8 fill-current dark:fill-link-dark"}}
22
22
  </span>
23
23
  </div>
24
24
  </button>
@@ -1,6 +1,6 @@
1
1
  <div class="relative mx-auto ">
2
2
  <div class="flex px-8 pt-4 md:pt-0 md:px-0">
3
- {{> components/site_header/navigation_search/quick_search_form }}
3
+ {{> components/site_header/navigation_search/quick_search_form _footer=true }}
4
4
  </div>
5
5
 
6
6
  </div>
@@ -6,7 +6,7 @@
6
6
  class="relative flex w-full border rounded lg:search-border-desktop search-border-mobile sb-quick-search-form md:justify-end"
7
7
  >
8
8
  <div
9
- class="flex w-full lg:h-10"
9
+ class="flex {{~#if _footer}} flex-col-reverse h-10 gap-y-1 {{else}} lg:h-10 {{/if}} w-full"
10
10
  id="search-content"
11
11
  @click.away="active=false; cursorIndex=-1"
12
12
  @keydown.arrow-down="moveDownList()"
@@ -19,7 +19,7 @@
19
19
  name="query"
20
20
  x-model="query"
21
21
  placeholder='{{loca "search_input_placeholder" }}'
22
- class="w-full px-2 py-2 text-base leading-4 placeholder-opacity-100 rounded-l shadow-inner appearance-none lg:top-10 placeholder-text-xs placeholder-secondary text-secondary focus:outline-none"
22
+ class="w-full px-2 {{~#if _footer}} py-3 {{else}} py-2 {{/if}} text-base leading-4 placeholder-opacity-100 rounded-l shadow-inner appearance-none lg:top-10 placeholder-text-xs placeholder-secondary text-secondary focus:outline-none"
23
23
  type="text"
24
24
  id="searchInput--{{getRandom}}"
25
25
  autocomplete="off"
@@ -31,7 +31,7 @@
31
31
  aria-controls="suggestionlist--{{getRandom}}"
32
32
  >
33
33
  <div
34
- class="absolute left-0 w-auto min-w-full z-100 top-8 lg:top-10"
34
+ class="{{~#unless _footer}} absolute {{/unless}}left-0 w-auto min-w-full z-100 top-8 lg:top-10"
35
35
  x-show="query.length > 1 && active && suggestions.length"
36
36
  x-cloak
37
37
  x-transition:leave="transition ease-in duration-100"