hr-design-system-handlebars 1.53.1 → 1.54.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.
- package/CHANGELOG.md +12 -0
- package/dist/assets/index.css +3 -3
- package/dist/views/components/base/link.hbs +1 -1
- package/dist/views_static/components/base/link.hbs +1 -1
- package/package.json +1 -1
- package/src/stories/views/components/base/link.hbs +1 -1
- package/src/stories/views/components/base/link.stories.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v1.54.0 (Mon Feb 05 2024)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Bugfix/2829 [#829](https://github.com/mumprod/hr-design-system-handlebars/pull/829) ([@szuelch](https://github.com/szuelch))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- [@szuelch](https://github.com/szuelch)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v1.53.1 (Fri Feb 02 2024)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -3299,7 +3299,7 @@ a.link:hover {
|
|
|
3299
3299
|
border-bottom-color: var(--color-secondary-ds);
|
|
3300
3300
|
}
|
|
3301
3301
|
.counter-reset {
|
|
3302
|
-
counter-reset:
|
|
3302
|
+
counter-reset: cnt1707136499316;
|
|
3303
3303
|
}
|
|
3304
3304
|
.hyphens-auto {
|
|
3305
3305
|
-webkit-hyphens: auto;
|
|
@@ -3601,7 +3601,7 @@ a.link:hover {
|
|
|
3601
3601
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3602
3602
|
}
|
|
3603
3603
|
.-ordered {
|
|
3604
|
-
counter-increment:
|
|
3604
|
+
counter-increment: cnt1707136499316 1;
|
|
3605
3605
|
}
|
|
3606
3606
|
.-ordered::before {
|
|
3607
3607
|
position: absolute;
|
|
@@ -3617,7 +3617,7 @@ a.link:hover {
|
|
|
3617
3617
|
letter-spacing: .0125em;
|
|
3618
3618
|
--tw-text-opacity: 1;
|
|
3619
3619
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3620
|
-
content: counter(
|
|
3620
|
+
content: counter(cnt1707136499316);
|
|
3621
3621
|
}
|
|
3622
3622
|
/*! ****************************/
|
|
3623
3623
|
/*! DataPolicy stuff */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<a {{#with _link.webviewUrl}}data-webviewurl="{{this}}"{{/with}} href="{{_link.url}}{{#if this.hasComments}}#commentList{{/if}}"
|
|
1
|
+
<a {{#with _link.webviewUrl}}data-webviewurl="{{this}}"{{/with}} {{#if _link.isStaticUrl}}href="{{resourceUrl _link.url}}{{else}}href="{{_link.url}}{{/if}}{{#if this.hasComments}}#commentList{{/if}}"
|
|
2
2
|
class="sb-link ds-link js-load {{#if _isSelected}} {{defaultIfEmpty _selectedCssClass "-current"}}{{/if}}{{#if _css}} {{_css}}{{/if}} {{#> css}}{{/css}}"
|
|
3
3
|
{{#if _link.isTargetBlank}} target="_blank" rel="noopener{{#if _link.hasNoReferrerFlag}} noreferrer{{/if}}"{{/if}}
|
|
4
4
|
{{#if _isAriaHidden}} aria-hidden="true" tabindex="-1"{{/if}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<a {{#with _link.webviewUrl}}data-webviewurl="{{this}}"{{/with}} href="{{_link.url}}{{#if this.hasComments}}#commentList{{/if}}"
|
|
1
|
+
<a {{#with _link.webviewUrl}}data-webviewurl="{{this}}"{{/with}} {{#if _link.isStaticUrl}}href="{{resourceUrl _link.url}}{{else}}href="{{_link.url}}{{/if}}{{#if this.hasComments}}#commentList{{/if}}"
|
|
2
2
|
class="sb-link ds-link js-load {{#if _isSelected}} {{defaultIfEmpty _selectedCssClass "-current"}}{{/if}}{{#if _css}} {{_css}}{{/if}} {{#> css}}{{/css}}"
|
|
3
3
|
{{#if _link.isTargetBlank}} target="_blank" rel="noopener{{#if _link.hasNoReferrerFlag}} noreferrer{{/if}}"{{/if}}
|
|
4
4
|
{{#if _isAriaHidden}} aria-hidden="true" tabindex="-1"{{/if}}
|
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.
|
|
9
|
+
"version": "1.54.0",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<a {{#with _link.webviewUrl}}data-webviewurl="{{this}}"{{/with}} href="{{_link.url}}{{#if this.hasComments}}#commentList{{/if}}"
|
|
1
|
+
<a {{#with _link.webviewUrl}}data-webviewurl="{{this}}"{{/with}} {{#if _link.isStaticUrl}}href="{{resourceUrl _link.url}}{{else}}href="{{_link.url}}{{/if}}{{#if this.hasComments}}#commentList{{/if}}"
|
|
2
2
|
class="sb-link ds-link js-load {{#if _isSelected}} {{defaultIfEmpty _selectedCssClass "-current"}}{{/if}}{{#if _css}} {{_css}}{{/if}} {{#> css}}{{/css}}"
|
|
3
3
|
{{#if _link.isTargetBlank}} target="_blank" rel="noopener{{#if _link.hasNoReferrerFlag}} noreferrer{{/if}}"{{/if}}
|
|
4
4
|
{{#if _isAriaHidden}} aria-hidden="true" tabindex="-1"{{/if}}
|
|
@@ -15,7 +15,7 @@ export default {
|
|
|
15
15
|
argTypes: {
|
|
16
16
|
_link: {
|
|
17
17
|
description:
|
|
18
|
-
'Das Objekt, welches, den Link beschreibt. Es muss mindestens das Feld `url` beinhalten. Weitere mögliche Felder sind `webviewUrl`, `isTargetBlank`, `hasIcon`, `iconName`, `readMoreText`, `hasNoReferrerFlag`',
|
|
18
|
+
'Das Objekt, welches, den Link beschreibt. Es muss mindestens das Feld `url` beinhalten. Weitere mögliche Felder sind `webviewUrl`, `isTargetBlank`, `hasIcon`, `iconName`, `readMoreText`, `hasNoReferrerFlag`, `isStaticUrl`',
|
|
19
19
|
control: 'object',
|
|
20
20
|
},
|
|
21
21
|
|