hr-design-system-handlebars 1.114.37 → 1.114.39

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,27 @@
1
+ # v1.114.39 (Wed Dec 11 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - some small fixes [#1188](https://github.com/mumprod/hr-design-system-handlebars/pull/1188) ([@StefanVesper](https://github.com/StefanVesper))
6
+
7
+ #### Authors: 1
8
+
9
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
10
+
11
+ ---
12
+
13
+ # v1.114.38 (Wed Dec 11 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - adds new rule for anchor destinations [#1187](https://github.com/mumprod/hr-design-system-handlebars/pull/1187) ([@StefanVesper](https://github.com/StefanVesper))
18
+
19
+ #### Authors: 1
20
+
21
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
22
+
23
+ ---
24
+
1
25
  # v1.114.37 (Tue Dec 10 2024)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -1016,6 +1016,16 @@ article.indexTextDS .indexTextHighlighted .link {
1016
1016
  text-decoration-thickness: 1px;
1017
1017
  }
1018
1018
  /* -----------------------------COPYTEXT ---------------------------- */
1019
+ .hrds-copytext a[name] {
1020
+ scroll-margin-top: 117px;
1021
+ scroll-behavior: smooth;
1022
+ }
1023
+ @media (min-width: 768px) {
1024
+
1025
+ .hrds-copytext a[name] {
1026
+ scroll-margin-top: 128px;
1027
+ }
1028
+ }
1019
1029
  .hrds-copytext__link:focus {
1020
1030
  --tw-shadow: 0 0 0 0.25rem;
1021
1031
  --tw-shadow-colored: 0 0 0 0.25rem var(--tw-shadow-color);
@@ -2089,9 +2099,6 @@ article.indexTextDS .indexTextHighlighted .link {
2089
2099
  .scroll-mt-\[117px\] {
2090
2100
  scroll-margin-top: 117px;
2091
2101
  }
2092
- .scroll-mt-\[128px\] {
2093
- scroll-margin-top: 128px;
2094
- }
2095
2102
  .list-decimal {
2096
2103
  list-style-type: decimal;
2097
2104
  }
@@ -3695,8 +3702,9 @@ article.indexTextDS .indexTextHighlighted .link {
3695
3702
  border-bottom-color: var(--color-secondary-ds);
3696
3703
  }
3697
3704
  .counter-reset {
3698
- counter-reset: cnt1733848954653;
3705
+ counter-reset: cnt1733921285188;
3699
3706
  }
3707
+ html { scroll-behavior: smooth; }
3700
3708
  .placeholder-text-xs::-webkit-input-placeholder {
3701
3709
  font-size: 0.75rem;
3702
3710
  line-height: 1.0625rem;
@@ -4109,7 +4117,7 @@ article.indexTextDS .indexTextHighlighted .link {
4109
4117
  --tw-ring-color: rgba(255, 255, 255, 0.5);
4110
4118
  }
4111
4119
  .-ordered {
4112
- counter-increment: cnt1733848954653 1;
4120
+ counter-increment: cnt1733921285188 1;
4113
4121
  }
4114
4122
  .-ordered::before {
4115
4123
  position: absolute;
@@ -4127,7 +4135,7 @@ article.indexTextDS .indexTextHighlighted .link {
4127
4135
  --tw-text-opacity: 1;
4128
4136
  color: rgba(0, 0, 0, 1);
4129
4137
  color: rgba(0, 0, 0, var(--tw-text-opacity));
4130
- content: counter(cnt1733848954653);
4138
+ content: counter(cnt1733921285188);
4131
4139
  }
4132
4140
  /*! ****************************/
4133
4141
  /*! DataPolicy stuff */
@@ -7410,6 +7418,10 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
7410
7418
  flex-basis: 100%;
7411
7419
  }
7412
7420
 
7421
+ .md\:scroll-mt-\[128px\] {
7422
+ scroll-margin-top: 128px;
7423
+ }
7424
+
7413
7425
  .md\:flex-row {
7414
7426
  flex-direction: row;
7415
7427
  }
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.37",
9
+ "version": "1.114.39",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -311,6 +311,10 @@ article.indexTextDS .indexTextHighlighted .link {
311
311
 
312
312
  /* -----------------------------COPYTEXT ---------------------------- */
313
313
  .hrds-copytext {
314
+ a[name] {
315
+ @apply scroll-mt-[117px] md:scroll-mt-[128px] scroll-smooth;
316
+ }
317
+
314
318
  &__link {
315
319
  @apply underline text-link decoration-1 hover:decoration-1 dark:text-link-dark ds-link;
316
320
  }
@@ -335,4 +339,6 @@ article.indexTextDS .indexTextHighlighted .link {
335
339
  @apply not-italic;
336
340
  }
337
341
  }
342
+
343
+
338
344
  }
@@ -1,4 +1,6 @@
1
1
  @layer utilities {
2
+ html { scroll-behavior: smooth; }
3
+
2
4
  .placeholder-text-xs::placeholder {
3
5
  @apply text-xs;
4
6
  }
@@ -8,7 +8,7 @@ module.exports = {
8
8
  experimental: {
9
9
  optimizeUniversalDefaults: true,
10
10
  },
11
- safelist: ['mt-12', 'bg-gray-100', '-weather_warning', 'scroll-smooth', 'scroll-mt-[128px]', 'scroll-mt-[117px]'],
11
+ safelist: ['mt-12', 'bg-gray-100', '-weather_warning', 'scroll-smooth', 'md:scroll-mt-[128px]', 'scroll-mt-[117px]'],
12
12
  content: [
13
13
  './src/stories/*.mdx',
14
14
  './src/stories/views/**/*.{mdx,hbs,js,json}',