hr-design-system-handlebars 1.59.25 → 1.60.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.
@@ -13,10 +13,10 @@ jobs:
13
13
  - uses: actions/checkout@v2
14
14
  with:
15
15
  fetch-depth: 0
16
- - name: Use Node.js 16.x
16
+ - name: Use Node.js 20.x
17
17
  uses: actions/setup-node@v1
18
18
  with:
19
- node-version: 16.x
19
+ node-version: 20.x
20
20
  - name: install
21
21
  run: yarn
22
22
  - name: create partials
@@ -21,10 +21,10 @@ jobs:
21
21
  - name: Unset header
22
22
  # checkout@v2 adds a header that makes branch protection report errors ):
23
23
  run: git config --local --unset http.https://github.com/.extraheader
24
- - name: Use Node.js 16.x
24
+ - name: Use Node.js 20.x
25
25
  uses: actions/setup-node@v1
26
26
  with:
27
- node-version: 16.x
27
+ node-version: 20.x
28
28
  - uses: bahmutov/npm-install@v1.6.0
29
29
  - name: Create Release
30
30
  env:
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ v20.11.1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ # v1.60.0 (Mon Mar 11 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Feature/dpe 2978 [#878](https://github.com/mumprod/hr-design-system-handlebars/pull/878) ([@szuelch](https://github.com/szuelch))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@szuelch](https://github.com/szuelch)
10
+
11
+ ---
12
+
13
+ # v1.59.26 (Fri Mar 08 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - added parameter to component call [#876](https://github.com/mumprod/hr-design-system-handlebars/pull/876) ([@StefanVesper](https://github.com/StefanVesper) [@vascoeduardo](https://github.com/vascoeduardo))
18
+
19
+ #### Authors: 2
20
+
21
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
22
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
23
+
24
+ ---
25
+
1
26
  # v1.59.25 (Thu Mar 07 2024)
2
27
 
3
28
  #### 🐛 Bug Fix
package/README.md CHANGED
@@ -7,8 +7,8 @@ auf die folgenden Versionen aktualisieren.
7
7
 
8
8
  | Werkzeug | Version |
9
9
  | -------- | ------- |
10
- | Node.js | 16.14.2 |
11
- | NPM | 8.5.0 |
10
+ | Node.js | 20.11.1 |
11
+ | NPM | 10.2.4 |
12
12
 
13
13
  ---
14
14
 
@@ -16,6 +16,71 @@ auf die folgenden Versionen aktualisieren.
16
16
 
17
17
  Node.js installiert man am besten mit dem Node Version Manager NVM. Dies ist zwar eigentlich ein Linux Projekt, kann aber als nvm-windows auch unter Windows genutzt werden. Die Installationsdateien können unter https://github.com/coreybutler/nvm-windows/releases heruntergeladen werden. NVM gestattet es je nach Bedarf schnell über die Konsole zwischen mehreren Versionen von node.js zu wechseln. Seit der Version 1.18 von NVM müssen zur korrekten Nutzung die Hinweise unter https://github.com/coreybutler/nvm-windows/wiki/Common-Issues#permissions-exit-1-exit-5-access-denied-exit-145 beachtet werden.
18
18
 
19
+ Die zu verwendende Node.js Version ist auch in der Date .nvmrc festgehalten. Sofern nvm genutzt wird um Node.js zu installieren, sorgt dieses Datei dafür, dass automatisch, wenn in das Verzeichnis dieses Projekts gewechselt wird, die korrekte Node.js Version für dieses Projekt geladen wird. Mehr dazu unter https://github.com/nvm-sh/nvm?tab=readme-ov-file#calling-nvm-use-automatically-in-a-directory-with-a-nvmrc-file
20
+
21
+ Damit das ganze auf Windows Rechnern funktioniert, müssen zuvor noch ein paar Anpassungen an der Command Shell gemacht werden. Für git bash müssen dazu in der Datei .bashrc (diese liegt direkt im Benutzerverzeichnis des aktiven Nutzers) folgende Anpassungen gemacht werden. Ans Ende der Datei bitte folgenden Code einfügen:
22
+
23
+ ```
24
+ # Traverse up in directory tree to find containing folder
25
+ nvm_find_up() {
26
+ local path_
27
+ path_="${PWD}"
28
+ while [ "${path_}" != "" ] && [ ! -f "${path_}/${1-}" ]; do
29
+ path_=${path_%/*}
30
+ done
31
+ nvm_echo "${path_}"
32
+ }
33
+
34
+ nvm_find_nvmrc() {
35
+ local dir
36
+ dir="$(nvm_find_up '.nvmrc')"
37
+ if [ -e "${dir}/.nvmrc" ]; then
38
+ nvm_echo "${dir}/.nvmrc"
39
+ fi
40
+ }
41
+
42
+ load-nvmrc() {
43
+ local node_version="$(node.exe -v)"
44
+ local nvmrc_path="$(nvm_find_nvmrc)"
45
+
46
+ if [ ! -z "$nvmrc_path" ]; then
47
+ local nvmrc_node_version=$(cat "${nvmrc_path}")
48
+ fi
49
+
50
+ local target_version="${nvmrc_node_version:-v16.14.2}"
51
+
52
+ if [ "$target_version" != "$node_version" ]; then
53
+ echo "Switch node from $node_version to $target_version"
54
+ nvm use $target_version
55
+ else
56
+ echo "node in use $target_version"
57
+ fi
58
+ }
59
+
60
+ # create a PROPMT_COMMAND equivalent to store chpwd functions
61
+ typeset -g CHPWD_COMMAND="load-nvmrc"
62
+
63
+ _chpwd_hook() {
64
+ shopt -s nullglob
65
+
66
+ local f
67
+
68
+ # run commands in CHPWD_COMMAND variable on dir change
69
+ if [[ "$PREVPWD" != "$PWD" ]]; then
70
+ local IFS=$';'
71
+ for f in $CHPWD_COMMAND; do
72
+ "$f"
73
+ done
74
+ unset IFS
75
+ fi
76
+ # refresh last working dir record
77
+ export PREVPWD="$PWD"
78
+ }
79
+
80
+ # add `;` after _chpwd_hook if PROMPT_COMMAND is not empty
81
+ PROMPT_COMMAND="_chpwd_hook${PROMPT_COMMAND:+;$PROMPT_COMMAND}"
82
+
83
+ ```
19
84
  ---
20
85
 
21
86
  Zur Verwaltung der Node Packages des Design Systems verwenden wir statt npm den Paketmanager [yarn](https://classic.yarnpkg.com/en/).
@@ -3316,7 +3316,7 @@ article.indexTextDS .indexTextHighlighted .link {
3316
3316
  border-bottom-color: var(--color-secondary-ds);
3317
3317
  }
3318
3318
  .counter-reset {
3319
- counter-reset: cnt1709846203956;
3319
+ counter-reset: cnt1710171228254;
3320
3320
  }
3321
3321
  .hyphens-auto {
3322
3322
  -webkit-hyphens: auto;
@@ -3622,7 +3622,7 @@ article.indexTextDS .indexTextHighlighted .link {
3622
3622
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3623
3623
  }
3624
3624
  .-ordered {
3625
- counter-increment: cnt1709846203956 1;
3625
+ counter-increment: cnt1710171228254 1;
3626
3626
  }
3627
3627
  .-ordered::before {
3628
3628
  position: absolute;
@@ -3638,7 +3638,7 @@ article.indexTextDS .indexTextHighlighted .link {
3638
3638
  letter-spacing: .0125em;
3639
3639
  --tw-text-opacity: 1;
3640
3640
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3641
- content: counter(cnt1709846203956);
3641
+ content: counter(cnt1710171228254);
3642
3642
  }
3643
3643
  /*! ****************************/
3644
3644
  /*! DataPolicy stuff */
@@ -20,7 +20,7 @@
20
20
  <div id="serviceNavWrapper"
21
21
  :class="shouldServiceNavBeHidden() ? '-mt-40' : ''"
22
22
  class="relative grid grid-page order-2 w-full transition-[margin-top] duration-200 ease-in-out border-b border-servicenavigation-border-color bg-navigation-bg z-120">
23
- {{> components/site_header/service_navigation/service_navigation }}
23
+ {{> components/site_header/service_navigation/service_navigation _useSticky=_useSticky}}
24
24
  </div>
25
25
 
26
26
  <div id="sectionNavWrapper"
@@ -20,7 +20,7 @@
20
20
  <div id="serviceNavWrapper"
21
21
  :class="shouldServiceNavBeHidden() ? '-mt-40' : ''"
22
22
  class="relative grid grid-page order-2 w-full transition-[margin-top] duration-200 ease-in-out border-b border-servicenavigation-border-color bg-navigation-bg z-120">
23
- {{> components/site_header/service_navigation/service_navigation }}
23
+ {{> components/site_header/service_navigation/service_navigation _useSticky=_useSticky}}
24
24
  </div>
25
25
 
26
26
  <div id="sectionNavWrapper"
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.59.25",
9
+ "version": "1.60.0",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -20,7 +20,7 @@
20
20
  <div id="serviceNavWrapper"
21
21
  :class="shouldServiceNavBeHidden() ? '-mt-40' : ''"
22
22
  class="relative grid grid-page order-2 w-full transition-[margin-top] duration-200 ease-in-out border-b border-servicenavigation-border-color bg-navigation-bg z-120">
23
- {{> components/site_header/service_navigation/service_navigation }}
23
+ {{> components/site_header/service_navigation/service_navigation _useSticky=_useSticky}}
24
24
  </div>
25
25
 
26
26
  <div id="sectionNavWrapper"