hr-design-system-handlebars 1.126.1 → 1.126.3

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.
@@ -0,0 +1,50 @@
1
+ # Copilot Instructions for HR Design System (Handlebars)
2
+
3
+ ## Project Overview
4
+ This is a Node.js-based design system using Handlebars, Storybook, and custom asset optimization. It provides reusable UI components, templates, and assets for HR applications. The architecture is modular, with build scripts, asset pipelines, and story-driven documentation.
5
+
6
+ ## Key Directories & Files
7
+ - `src/` — Main source code, including `index.js`, assets, and stories
8
+ - `build/handlebars/` — Compiled Handlebars templates, helpers, and partials
9
+ - `build/gulp/` — Gulp build scripts and cache
10
+ - `public/` — Static assets for Storybook and documentation
11
+ - `gulpfile.js` — Gulp build configuration
12
+ - `package.json` — Scripts, dependencies, and project metadata
13
+ - `README.md` — Setup, workflow, and developer guidance
14
+
15
+ ## Developer Workflows
16
+ - **Install dependencies:** Use `yarn` (not npm)
17
+ - **Start Storybook:** `yarn storybook`
18
+ - **Optimize assets:** `yarn optimize-assets` (must run in parallel with Storybook)
19
+ - **Recommended:** Use VS Code Macro-Commander extension to start both scripts together (see README for macro setup)
20
+ - **Node version:** Use Node.js 20.11.1 (see `.nvmrc` and README for NVM setup)
21
+
22
+ ## Build & Asset Pipeline
23
+ - Asset optimization (SVGs, JSON test data, Modernizr.js, Handlebars templates) is handled by `yarn optimize-assets`.
24
+ - Optimized/cached assets are stored in `build/gulp/cache`.
25
+ - The pipeline runs in watch mode and only re-processes changed files for faster builds.
26
+
27
+ ## Project-Specific Conventions
28
+ - **Yarn is required** for dependency management due to Storybook compatibility.
29
+ - **Storybook stories** and documentation are in `src/stories/` and `public/storybook-static/`.
30
+ - **Handlebars templates** are compiled and exported as JS modules for integration.
31
+ - **Custom Modernizr build** is generated and used for feature detection.
32
+ - **Macros for VS Code**: Macro-Commander is recommended for running both main scripts together.
33
+
34
+ ## Integration Points
35
+ - **External dependencies:** Storybook, Handlebars, Modernizr, Gulp, TailwindCSS, PostCSS
36
+ - **Custom helpers/partials:** Located in `build/handlebars/helpers/` and `build/handlebars/partials/`
37
+ - **Webpack config:** For bundling assets and scripts
38
+
39
+ ## Examples & Patterns
40
+ - To add a new UI component, create a Handlebars template in `build/handlebars/partials/` and a story in `src/stories/`.
41
+ - For asset changes, update source files and run `yarn optimize-assets` to regenerate optimized outputs.
42
+ - For new helpers, add to `build/handlebars/helpers/` and ensure they are registered in the build pipeline.
43
+
44
+ ## Troubleshooting
45
+ - If Storybook does not reflect changes, ensure both `yarn storybook` and `yarn optimize-assets` are running.
46
+ - For Node version issues, use NVM and check `.nvmrc`.
47
+ - For dependency issues, always use `yarn`.
48
+
49
+ ---
50
+ For more details, see the [README.md](../../README.md).
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ # v1.126.3 (Tue Jan 20 2026)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Fix z-index issue in scroll depth measurement component [#1337](https://github.com/mumprod/hr-design-system-handlebars/pull/1337) ([@szuelch](https://github.com/szuelch))
6
+
7
+ #### 📝 Documentation
8
+
9
+ - Add Copilot instructions for HR Design System [#1336](https://github.com/mumprod/hr-design-system-handlebars/pull/1336) ([@szuelch](https://github.com/szuelch))
10
+
11
+ #### Authors: 1
12
+
13
+ - [@szuelch](https://github.com/szuelch)
14
+
15
+ ---
16
+
17
+ # v1.126.2 (Thu Jan 15 2026)
18
+
19
+ #### 🐛 Bug Fix
20
+
21
+ - changed wording of App Banner [#1335](https://github.com/mumprod/hr-design-system-handlebars/pull/1335) ([@vascoeduardo](https://github.com/vascoeduardo))
22
+
23
+ #### Authors: 1
24
+
25
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
26
+
27
+ ---
28
+
1
29
  # v1.126.1 (Fri Dec 19 2025)
2
30
 
3
31
  #### 🐛 Bug Fix
@@ -1285,6 +1285,9 @@ article #commentList {
1285
1285
  .top-px {
1286
1286
  top: 1px;
1287
1287
  }
1288
+ .-z-10 {
1289
+ z-index: -10;
1290
+ }
1288
1291
  .-z-40 {
1289
1292
  z-index: -40;
1290
1293
  }
@@ -3915,7 +3918,7 @@ article #commentList {
3915
3918
  border-bottom-color: var(--color-secondary-ds);
3916
3919
  }
3917
3920
  .counter-reset {
3918
- counter-reset: cnt1766157244936;
3921
+ counter-reset: cnt1768912212551;
3919
3922
  }
3920
3923
  .animate-delay-100 {
3921
3924
  --tw-animate-delay: 100ms;
@@ -4376,7 +4379,7 @@ html { scroll-behavior: smooth; }
4376
4379
  --tw-ring-color: rgba(255, 255, 255, 0.5);
4377
4380
  }
4378
4381
  .-ordered {
4379
- counter-increment: cnt1766157244936 1;
4382
+ counter-increment: cnt1768912212551 1;
4380
4383
  }
4381
4384
  .-ordered::before {
4382
4385
  position: absolute;
@@ -4394,7 +4397,7 @@ html { scroll-behavior: smooth; }
4394
4397
  --tw-text-opacity: 1;
4395
4398
  color: rgba(0, 0, 0, 1);
4396
4399
  color: rgba(0, 0, 0, var(--tw-text-opacity));
4397
- content: counter(cnt1766157244936);
4400
+ content: counter(cnt1768912212551);
4398
4401
  }
4399
4402
  /*! ****************************/
4400
4403
  /*! DataPolicy stuff */
@@ -7,8 +7,8 @@
7
7
  class="w-7 h-7" alt="{{loca "meta_application_name"}}">
8
8
  </div>
9
9
  <div class="flex flex-col items-start text-sm sm:text-base font-heading">
10
- <span class="font-bold">hessenschau App</span>
11
- <span>Kostenlos bei Google Play</span>
10
+ <span class="font-bold">hessenschau-App</span>
11
+ <span>Kostenlos und werbefrei</span>
12
12
  </div>
13
13
  </div>
14
14
  <div class="flex items-center gap-4 ">
@@ -7,8 +7,8 @@
7
7
  class="w-7 h-7" alt="{{loca "meta_application_name"}}">
8
8
  </div>
9
9
  <div class="flex flex-col items-start text-sm sm:text-base font-heading">
10
- <span class="font-bold">hessenschau App</span>
11
- <span>Kostenlos bei Google Play</span>
10
+ <span class="font-bold">hessenschau-App</span>
11
+ <span>Kostenlos und webefrei</span>
12
12
  </div>
13
13
  </div>
14
14
  <div class="flex items-center gap-4 ">
@@ -1,4 +1,4 @@
1
- <div class="absolute w-full h-full" x-ref="scroll_depth_container" ax-load x-data="measureScrollDepth()" x-ignore>
1
+ <div class="absolute w-full h-full -z-10" x-ref="scroll_depth_container" ax-load x-data="measureScrollDepth()" x-ignore>
2
2
  <div data-scroll-depth="0%" x-ref="scroll_depth_0" class="w-full h-1/4"></div>
3
3
  <div data-scroll-depth="25%" x-ref="scroll_depth_25" class="w-full h-1/4"></div>
4
4
  <div data-scroll-depth="50%" x-ref="scroll_depth_50" class="w-full h-1/4"></div>
@@ -7,8 +7,8 @@
7
7
  class="w-7 h-7" alt="{{loca "meta_application_name"}}">
8
8
  </div>
9
9
  <div class="flex flex-col items-start text-sm sm:text-base font-heading">
10
- <span class="font-bold">hessenschau App</span>
11
- <span>Kostenlos bei Google Play</span>
10
+ <span class="font-bold">hessenschau-App</span>
11
+ <span>Kostenlos und werbefrei</span>
12
12
  </div>
13
13
  </div>
14
14
  <div class="flex items-center gap-4 ">
@@ -7,8 +7,8 @@
7
7
  class="w-7 h-7" alt="{{loca "meta_application_name"}}">
8
8
  </div>
9
9
  <div class="flex flex-col items-start text-sm sm:text-base font-heading">
10
- <span class="font-bold">hessenschau App</span>
11
- <span>Kostenlos bei Google Play</span>
10
+ <span class="font-bold">hessenschau-App</span>
11
+ <span>Kostenlos und webefrei</span>
12
12
  </div>
13
13
  </div>
14
14
  <div class="flex items-center gap-4 ">
@@ -1,4 +1,4 @@
1
- <div class="absolute w-full h-full" x-ref="scroll_depth_container" ax-load x-data="measureScrollDepth()" x-ignore>
1
+ <div class="absolute w-full h-full -z-10" x-ref="scroll_depth_container" ax-load x-data="measureScrollDepth()" x-ignore>
2
2
  <div data-scroll-depth="0%" x-ref="scroll_depth_0" class="w-full h-1/4"></div>
3
3
  <div data-scroll-depth="25%" x-ref="scroll_depth_25" class="w-full h-1/4"></div>
4
4
  <div data-scroll-depth="50%" x-ref="scroll_depth_50" class="w-full h-1/4"></div>
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.126.1",
9
+ "version": "1.126.3",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -7,8 +7,8 @@
7
7
  class="w-7 h-7" alt="{{loca "meta_application_name"}}">
8
8
  </div>
9
9
  <div class="flex flex-col items-start text-sm sm:text-base font-heading">
10
- <span class="font-bold">hessenschau App</span>
11
- <span>Kostenlos bei Google Play</span>
10
+ <span class="font-bold">hessenschau-App</span>
11
+ <span>Kostenlos und werbefrei</span>
12
12
  </div>
13
13
  </div>
14
14
  <div class="flex items-center gap-4 ">
@@ -7,8 +7,8 @@
7
7
  class="w-7 h-7" alt="{{loca "meta_application_name"}}">
8
8
  </div>
9
9
  <div class="flex flex-col items-start text-sm sm:text-base font-heading">
10
- <span class="font-bold">hessenschau App</span>
11
- <span>Kostenlos bei Google Play</span>
10
+ <span class="font-bold">hessenschau-App</span>
11
+ <span>Kostenlos und webefrei</span>
12
12
  </div>
13
13
  </div>
14
14
  <div class="flex items-center gap-4 ">
@@ -1,4 +1,4 @@
1
- <div class="absolute w-full h-full" x-ref="scroll_depth_container" ax-load x-data="measureScrollDepth()" x-ignore>
1
+ <div class="absolute w-full h-full -z-10" x-ref="scroll_depth_container" ax-load x-data="measureScrollDepth()" x-ignore>
2
2
  <div data-scroll-depth="0%" x-ref="scroll_depth_0" class="w-full h-1/4"></div>
3
3
  <div data-scroll-depth="25%" x-ref="scroll_depth_25" class="w-full h-1/4"></div>
4
4
  <div data-scroll-depth="50%" x-ref="scroll_depth_50" class="w-full h-1/4"></div>