hr-design-system-handlebars 1.59.26 → 1.60.1

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,27 @@
1
+ # v1.60.1 (Tue Mar 12 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Dpe 2959 - add external services [#879](https://github.com/mumprod/hr-design-system-handlebars/pull/879) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
13
+ # v1.60.0 (Mon Mar 11 2024)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - Feature/dpe 2978 [#878](https://github.com/mumprod/hr-design-system-handlebars/pull/878) ([@szuelch](https://github.com/szuelch))
18
+
19
+ #### Authors: 1
20
+
21
+ - [@szuelch](https://github.com/szuelch)
22
+
23
+ ---
24
+
1
25
  # v1.59.26 (Fri Mar 08 2024)
2
26
 
3
27
  #### 🐛 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: cnt1709887641956;
3319
+ counter-reset: cnt1710258551956;
3320
3320
  }
3321
3321
  .hyphens-auto {
3322
3322
  -webkit-hyphens: auto;
@@ -3353,49 +3353,49 @@ article.indexTextDS .indexTextHighlighted .link {
3353
3353
  clear: both;
3354
3354
  }
3355
3355
  }
3356
- .ar-16-9 {
3356
+ .ar-16-9, .ar-16x9-DS {
3357
3357
  aspect-ratio: 16 / 9;
3358
3358
  }
3359
3359
  @supports not (aspect-ratio: 16 / 9) {
3360
- .ar-16-9::before {
3360
+ .ar-16-9::before, .ar-16x9-DS::before {
3361
3361
  float: left;
3362
3362
  padding-top: calc(9 / 16 * 100%);
3363
3363
  content: '';
3364
3364
  }
3365
3365
 
3366
- .ar-16-9::after {
3366
+ .ar-16-9::after, .ar-16x9-DS::after {
3367
3367
  display: block;
3368
3368
  content: '';
3369
3369
  clear: both;
3370
3370
  }
3371
3371
  }
3372
- .ar-4-3 {
3372
+ .ar-4-3, .ar-4x3-DS {
3373
3373
  aspect-ratio: 4 / 3;
3374
3374
  }
3375
3375
  @supports not (aspect-ratio: 4 / 3) {
3376
- .ar-4-3::before {
3376
+ .ar-4-3::before, .ar-4x3-DS::before {
3377
3377
  float: left;
3378
3378
  padding-top: calc(3 / 4 * 100%);
3379
3379
  content: '';
3380
3380
  }
3381
3381
 
3382
- .ar-4-3::after {
3382
+ .ar-4-3::after, .ar-4x3-DS::after {
3383
3383
  display: block;
3384
3384
  content: '';
3385
3385
  clear: both;
3386
3386
  }
3387
3387
  }
3388
- .ar-1-1 {
3388
+ .ar-1-1, .ar-100-DS {
3389
3389
  aspect-ratio: 1 / 1;
3390
3390
  }
3391
3391
  @supports not (aspect-ratio: 1 / 1) {
3392
- .ar-1-1::before {
3392
+ .ar-1-1::before, .ar-100-DS::before {
3393
3393
  float: left;
3394
3394
  padding-top: 100%;
3395
3395
  content: '';
3396
3396
  }
3397
3397
 
3398
- .ar-1-1::after {
3398
+ .ar-1-1::after, .ar-100-DS::after {
3399
3399
  display: block;
3400
3400
  content: '';
3401
3401
  clear: both;
@@ -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: cnt1709887641956 1;
3625
+ counter-increment: cnt1710258551956 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(cnt1709887641956);
3641
+ content: counter(cnt1710258551956);
3642
3642
  }
3643
3643
  /*! ****************************/
3644
3644
  /*! DataPolicy stuff */