hr-design-system-handlebars 0.55.1 → 0.55.2
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/content_nav/content_nav.hbs +1 -47
- package/dist/views/components/site_header/header_alpine.js +40 -0
- package/package.json +1 -1
- package/src/stories/views/components/content_nav/content_nav.hbs +1 -47
- package/src/stories/views/components/site_header/header_alpine.js +40 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.55.2 (Fri Aug 19 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- moved script to header_alpine.js [#303](https://github.com/mumprod/hr-design-system-handlebars/pull/303) ([@StefanVesper](https://github.com/StefanVesper))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.55.1 (Fri Aug 19 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1867,7 +1867,7 @@ video {
|
|
|
1867
1867
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
1868
1868
|
}
|
|
1869
1869
|
.counter-reset {
|
|
1870
|
-
counter-reset:
|
|
1870
|
+
counter-reset: cnt1660924214352;
|
|
1871
1871
|
}
|
|
1872
1872
|
.placeholder-text-xs::-webkit-input-placeholder {
|
|
1873
1873
|
font-size: 0.75rem;
|
|
@@ -2250,7 +2250,7 @@ video {
|
|
|
2250
2250
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2251
2251
|
}
|
|
2252
2252
|
.-ordered {
|
|
2253
|
-
counter-increment:
|
|
2253
|
+
counter-increment: cnt1660924214352 1;
|
|
2254
2254
|
}
|
|
2255
2255
|
.-ordered::before {
|
|
2256
2256
|
position: absolute;
|
|
@@ -2267,7 +2267,7 @@ video {
|
|
|
2267
2267
|
letter-spacing: .0125em;
|
|
2268
2268
|
--tw-text-opacity: 1;
|
|
2269
2269
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2270
|
-
content: counter(
|
|
2270
|
+
content: counter(cnt1660924214352);
|
|
2271
2271
|
}
|
|
2272
2272
|
/*! purgecss start ignore */
|
|
2273
2273
|
:root,
|
|
@@ -28,50 +28,4 @@
|
|
|
28
28
|
{{/components/base/menu/dropdown}}
|
|
29
29
|
|
|
30
30
|
{{/if}}
|
|
31
|
-
{{/with}}
|
|
32
|
-
|
|
33
|
-
<script type="text/javascript">
|
|
34
|
-
|
|
35
|
-
document.addEventListener('alpine:init', () => {
|
|
36
|
-
|
|
37
|
-
Alpine.data('contentNavigationHandler', () =>({
|
|
38
|
-
open: false,
|
|
39
|
-
|
|
40
|
-
init(){
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
shouldDropdownBeShown(teasersize,isDropdown,isMixed){
|
|
44
|
-
if (isDropdown){
|
|
45
|
-
return true
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
if (isMixed) {
|
|
49
|
-
if (teasersize === 100 || teasersize === 66 ) {
|
|
50
|
-
if (this.$screen('lg')) return false
|
|
51
|
-
if (this.$screen('md')) return false
|
|
52
|
-
if (this.$screen('xs')) return true
|
|
53
|
-
} else if (teasersize === 33 || teasersize === 25 || teasersize === 50) {
|
|
54
|
-
return true
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
shouldContentBeShown(teasersize,isDropdown,isMixed){
|
|
60
|
-
if (isDropdown){
|
|
61
|
-
return this.open
|
|
62
|
-
}
|
|
63
|
-
if (isMixed) {
|
|
64
|
-
if (teasersize === 100 || teasersize === 66 ) {
|
|
65
|
-
if (this.$screen('lg')) return true
|
|
66
|
-
if (this.$screen('md')) return true
|
|
67
|
-
if (this.$screen('xs')) return this.open
|
|
68
|
-
} else if (teasersize === 33 || teasersize === 25 || teasersize === 50) {
|
|
69
|
-
return this.open
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
return false
|
|
74
|
-
}
|
|
75
|
-
}))
|
|
76
|
-
})
|
|
77
|
-
</script>
|
|
31
|
+
{{/with}}
|
|
@@ -344,4 +344,44 @@ document.addEventListener('alpine:init', () => {
|
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}))
|
|
347
|
+
|
|
348
|
+
Alpine.data('contentNavigationHandler', () =>({
|
|
349
|
+
open: false,
|
|
350
|
+
|
|
351
|
+
init(){
|
|
352
|
+
},
|
|
353
|
+
|
|
354
|
+
shouldDropdownBeShown(teasersize,isDropdown,isMixed){
|
|
355
|
+
if (isDropdown){
|
|
356
|
+
return true
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
if (isMixed) {
|
|
360
|
+
if (teasersize === 100 || teasersize === 66 ) {
|
|
361
|
+
if (this.$screen('lg')) return false
|
|
362
|
+
if (this.$screen('md')) return false
|
|
363
|
+
if (this.$screen('xs')) return true
|
|
364
|
+
} else if (teasersize === 33 || teasersize === 25 || teasersize === 50) {
|
|
365
|
+
return true
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
|
|
370
|
+
shouldContentBeShown(teasersize,isDropdown,isMixed){
|
|
371
|
+
if (isDropdown){
|
|
372
|
+
return this.open
|
|
373
|
+
}
|
|
374
|
+
if (isMixed) {
|
|
375
|
+
if (teasersize === 100 || teasersize === 66 ) {
|
|
376
|
+
if (this.$screen('lg')) return true
|
|
377
|
+
if (this.$screen('md')) return true
|
|
378
|
+
if (this.$screen('xs')) return this.open
|
|
379
|
+
} else if (teasersize === 33 || teasersize === 25 || teasersize === 50) {
|
|
380
|
+
return this.open
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
return false
|
|
385
|
+
}
|
|
386
|
+
}))
|
|
347
387
|
})
|
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": "0.55.
|
|
9
|
+
"version": "0.55.2",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -28,50 +28,4 @@
|
|
|
28
28
|
{{/components/base/menu/dropdown}}
|
|
29
29
|
|
|
30
30
|
{{/if}}
|
|
31
|
-
{{/with}}
|
|
32
|
-
|
|
33
|
-
<script type="text/javascript">
|
|
34
|
-
|
|
35
|
-
document.addEventListener('alpine:init', () => {
|
|
36
|
-
|
|
37
|
-
Alpine.data('contentNavigationHandler', () =>({
|
|
38
|
-
open: false,
|
|
39
|
-
|
|
40
|
-
init(){
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
shouldDropdownBeShown(teasersize,isDropdown,isMixed){
|
|
44
|
-
if (isDropdown){
|
|
45
|
-
return true
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
if (isMixed) {
|
|
49
|
-
if (teasersize === 100 || teasersize === 66 ) {
|
|
50
|
-
if (this.$screen('lg')) return false
|
|
51
|
-
if (this.$screen('md')) return false
|
|
52
|
-
if (this.$screen('xs')) return true
|
|
53
|
-
} else if (teasersize === 33 || teasersize === 25 || teasersize === 50) {
|
|
54
|
-
return true
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
shouldContentBeShown(teasersize,isDropdown,isMixed){
|
|
60
|
-
if (isDropdown){
|
|
61
|
-
return this.open
|
|
62
|
-
}
|
|
63
|
-
if (isMixed) {
|
|
64
|
-
if (teasersize === 100 || teasersize === 66 ) {
|
|
65
|
-
if (this.$screen('lg')) return true
|
|
66
|
-
if (this.$screen('md')) return true
|
|
67
|
-
if (this.$screen('xs')) return this.open
|
|
68
|
-
} else if (teasersize === 33 || teasersize === 25 || teasersize === 50) {
|
|
69
|
-
return this.open
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
return false
|
|
74
|
-
}
|
|
75
|
-
}))
|
|
76
|
-
})
|
|
77
|
-
</script>
|
|
31
|
+
{{/with}}
|
|
@@ -344,4 +344,44 @@ document.addEventListener('alpine:init', () => {
|
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}))
|
|
347
|
+
|
|
348
|
+
Alpine.data('contentNavigationHandler', () =>({
|
|
349
|
+
open: false,
|
|
350
|
+
|
|
351
|
+
init(){
|
|
352
|
+
},
|
|
353
|
+
|
|
354
|
+
shouldDropdownBeShown(teasersize,isDropdown,isMixed){
|
|
355
|
+
if (isDropdown){
|
|
356
|
+
return true
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
if (isMixed) {
|
|
360
|
+
if (teasersize === 100 || teasersize === 66 ) {
|
|
361
|
+
if (this.$screen('lg')) return false
|
|
362
|
+
if (this.$screen('md')) return false
|
|
363
|
+
if (this.$screen('xs')) return true
|
|
364
|
+
} else if (teasersize === 33 || teasersize === 25 || teasersize === 50) {
|
|
365
|
+
return true
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
|
|
370
|
+
shouldContentBeShown(teasersize,isDropdown,isMixed){
|
|
371
|
+
if (isDropdown){
|
|
372
|
+
return this.open
|
|
373
|
+
}
|
|
374
|
+
if (isMixed) {
|
|
375
|
+
if (teasersize === 100 || teasersize === 66 ) {
|
|
376
|
+
if (this.$screen('lg')) return true
|
|
377
|
+
if (this.$screen('md')) return true
|
|
378
|
+
if (this.$screen('xs')) return this.open
|
|
379
|
+
} else if (teasersize === 33 || teasersize === 25 || teasersize === 50) {
|
|
380
|
+
return this.open
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
return false
|
|
385
|
+
}
|
|
386
|
+
}))
|
|
347
387
|
})
|