hr-design-system-handlebars 1.114.113 β 1.114.115
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.114.115 (Tue Mar 04 2025)
|
|
2
|
+
|
|
3
|
+
#### π Bug Fix
|
|
4
|
+
|
|
5
|
+
- Rename searchSuggest to searchSuggestResultPage and bind query to thi⦠[#1256](https://github.com/mumprod/hr-design-system-handlebars/pull/1256) ([@vascoeduardo](https://github.com/vascoeduardo) [@eduardo-hr](https://github.com/eduardo-hr))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- [@eduardo-hr](https://github.com/eduardo-hr)
|
|
10
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# v1.114.114 (Mon Mar 03 2025)
|
|
15
|
+
|
|
16
|
+
#### π Bug Fix
|
|
17
|
+
|
|
18
|
+
- Add conditional value binding for search input field [#1255](https://github.com/mumprod/hr-design-system-handlebars/pull/1255) ([@vascoeduardo](https://github.com/vascoeduardo) [@eduardo-hr](https://github.com/eduardo-hr))
|
|
19
|
+
|
|
20
|
+
#### Authors: 2
|
|
21
|
+
|
|
22
|
+
- [@eduardo-hr](https://github.com/eduardo-hr)
|
|
23
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
1
27
|
# v1.114.113 (Fri Feb 28 2025)
|
|
2
28
|
|
|
3
29
|
#### π Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -3860,7 +3860,7 @@ article #commentList {
|
|
|
3860
3860
|
border-bottom-color: var(--color-secondary-ds);
|
|
3861
3861
|
}
|
|
3862
3862
|
.counter-reset {
|
|
3863
|
-
counter-reset:
|
|
3863
|
+
counter-reset: cnt1741083625936;
|
|
3864
3864
|
}
|
|
3865
3865
|
.animate-delay-100 {
|
|
3866
3866
|
--tw-animate-delay: 100ms;
|
|
@@ -4305,7 +4305,7 @@ html { scroll-behavior: smooth; }
|
|
|
4305
4305
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
4306
4306
|
}
|
|
4307
4307
|
.-ordered {
|
|
4308
|
-
counter-increment:
|
|
4308
|
+
counter-increment: cnt1741083625936 1;
|
|
4309
4309
|
}
|
|
4310
4310
|
.-ordered::before {
|
|
4311
4311
|
position: absolute;
|
|
@@ -4323,7 +4323,7 @@ html { scroll-behavior: smooth; }
|
|
|
4323
4323
|
--tw-text-opacity: 1;
|
|
4324
4324
|
color: rgba(0, 0, 0, 1);
|
|
4325
4325
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
4326
|
-
content: counter(
|
|
4326
|
+
content: counter(cnt1741083625936);
|
|
4327
4327
|
}
|
|
4328
4328
|
/*! ****************************/
|
|
4329
4329
|
/*! DataPolicy stuff */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<form id="search_form" method="GET" action="#">
|
|
2
2
|
<div class="relative flex flex-col px-2 pt-6 pb-6 mt-8 mb-8 sm:flex-row sm:px-4 bg-highlight-1 dark:bg-highlight-1-dark sm:pt-6 sm:pb-6 sm:mt-8 article-full-width sm:article-narrow">
|
|
3
|
-
<div class="relative h-12 basis-full width-full " x-data="
|
|
3
|
+
<div class="relative h-12 basis-full width-full " x-data="searchSuggestResultPage()">
|
|
4
4
|
<div id="search-content"
|
|
5
5
|
@click.away="active=false; cursorIndex=-1"
|
|
6
6
|
@keydown.arrow-down="moveDownList()"
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
x-effect="$el.setAttribute('aria-expanded', (query.length > 1 && active && suggestions.length > 0))"
|
|
23
23
|
title="{{loca 'search_form_label_searchTerm'}}"
|
|
24
24
|
placeholder="{{loca 'search_form_label_searchTerm'}}"
|
|
25
|
-
|
|
25
|
+
{{#if this.queryString}}
|
|
26
|
+
value="{{this.queryString}}"
|
|
27
|
+
{{/if}}
|
|
26
28
|
>
|
|
27
29
|
<label for="searchInput--{{getRandom}}"
|
|
28
30
|
class="{{_labelClass}} peer-placeholder-shown:whitespace-nowrap {{> components/forms/components/labelClasses }}">
|
|
@@ -62,12 +64,12 @@
|
|
|
62
64
|
</div>
|
|
63
65
|
<script type="text/javascript">
|
|
64
66
|
|
|
65
|
-
function
|
|
67
|
+
function searchSuggestResultPage() {
|
|
66
68
|
|
|
67
69
|
return {
|
|
68
70
|
active:true,
|
|
69
71
|
cursorIndex: -1,
|
|
70
|
-
query: "",
|
|
72
|
+
query: "{{this.queryString}}",
|
|
71
73
|
suggestions: [],
|
|
72
74
|
|
|
73
75
|
getSuggestionsForInput() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<form id="search_form" method="GET" action="#">
|
|
2
2
|
<div class="relative flex flex-col px-2 pt-6 pb-6 mt-8 mb-8 sm:flex-row sm:px-4 bg-highlight-1 dark:bg-highlight-1-dark sm:pt-6 sm:pb-6 sm:mt-8 article-full-width sm:article-narrow">
|
|
3
|
-
<div class="relative h-12 basis-full width-full " x-data="
|
|
3
|
+
<div class="relative h-12 basis-full width-full " x-data="searchSuggestResultPage()">
|
|
4
4
|
<div id="search-content"
|
|
5
5
|
@click.away="active=false; cursorIndex=-1"
|
|
6
6
|
@keydown.arrow-down="moveDownList()"
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
x-effect="$el.setAttribute('aria-expanded', (query.length > 1 && active && suggestions.length > 0))"
|
|
23
23
|
title="{{loca 'search_form_label_searchTerm'}}"
|
|
24
24
|
placeholder="{{loca 'search_form_label_searchTerm'}}"
|
|
25
|
-
|
|
25
|
+
{{#if this.queryString}}
|
|
26
|
+
value="{{this.queryString}}"
|
|
27
|
+
{{/if}}
|
|
26
28
|
>
|
|
27
29
|
<label for="searchInput--{{getRandom}}"
|
|
28
30
|
class="{{_labelClass}} peer-placeholder-shown:whitespace-nowrap {{> components/forms/components/labelClasses }}">
|
|
@@ -62,12 +64,12 @@
|
|
|
62
64
|
</div>
|
|
63
65
|
<script type="text/javascript">
|
|
64
66
|
|
|
65
|
-
function
|
|
67
|
+
function searchSuggestResultPage() {
|
|
66
68
|
|
|
67
69
|
return {
|
|
68
70
|
active:true,
|
|
69
71
|
cursorIndex: -1,
|
|
70
|
-
query: "",
|
|
72
|
+
query: "{{this.queryString}}",
|
|
71
73
|
suggestions: [],
|
|
72
74
|
|
|
73
75
|
getSuggestionsForInput() {
|
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.114.
|
|
9
|
+
"version": "1.114.115",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<form id="search_form" method="GET" action="#">
|
|
2
2
|
<div class="relative flex flex-col px-2 pt-6 pb-6 mt-8 mb-8 sm:flex-row sm:px-4 bg-highlight-1 dark:bg-highlight-1-dark sm:pt-6 sm:pb-6 sm:mt-8 article-full-width sm:article-narrow">
|
|
3
|
-
<div class="relative h-12 basis-full width-full " x-data="
|
|
3
|
+
<div class="relative h-12 basis-full width-full " x-data="searchSuggestResultPage()">
|
|
4
4
|
<div id="search-content"
|
|
5
5
|
@click.away="active=false; cursorIndex=-1"
|
|
6
6
|
@keydown.arrow-down="moveDownList()"
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
x-effect="$el.setAttribute('aria-expanded', (query.length > 1 && active && suggestions.length > 0))"
|
|
23
23
|
title="{{loca 'search_form_label_searchTerm'}}"
|
|
24
24
|
placeholder="{{loca 'search_form_label_searchTerm'}}"
|
|
25
|
-
|
|
25
|
+
{{#if this.queryString}}
|
|
26
|
+
value="{{this.queryString}}"
|
|
27
|
+
{{/if}}
|
|
26
28
|
>
|
|
27
29
|
<label for="searchInput--{{getRandom}}"
|
|
28
30
|
class="{{_labelClass}} peer-placeholder-shown:whitespace-nowrap {{> components/forms/components/labelClasses }}">
|
|
@@ -62,12 +64,12 @@
|
|
|
62
64
|
</div>
|
|
63
65
|
<script type="text/javascript">
|
|
64
66
|
|
|
65
|
-
function
|
|
67
|
+
function searchSuggestResultPage() {
|
|
66
68
|
|
|
67
69
|
return {
|
|
68
70
|
active:true,
|
|
69
71
|
cursorIndex: -1,
|
|
70
|
-
query: "",
|
|
72
|
+
query: "{{this.queryString}}",
|
|
71
73
|
suggestions: [],
|
|
72
74
|
|
|
73
75
|
getSuggestionsForInput() {
|