hr-design-system-handlebars 1.114.28 → 1.114.30

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.
@@ -13,7 +13,7 @@ const config = {
13
13
  addons: [
14
14
  '@storybook/addon-themes',
15
15
  '@storybook/addon-links',
16
- 'storybook-addon-mock',
16
+ 'storybook-addon-fetch-mock',
17
17
  {
18
18
  name: '@storybook/addon-essentials',
19
19
  options: {
package/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ # v1.114.30 (Tue Dec 03 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - BUG/videos-dont-play-because-of-mock-plugin [#1179](https://github.com/mumprod/hr-design-system-handlebars/pull/1179) ([@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.29 (Mon Dec 02 2024)
15
+
16
+ #### 🐛 Bug Fix
17
+
18
+ - DPE-3432 success color Bug [#1176](https://github.com/mumprod/hr-design-system-handlebars/pull/1176) ([@vascoeduardo](https://github.com/vascoeduardo))
19
+
20
+ #### Authors: 1
21
+
22
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
23
+
24
+ ---
25
+
1
26
  # v1.114.28 (Fri Nov 29 2024)
2
27
 
3
28
  #### 🐛 Bug Fix
@@ -3689,7 +3689,7 @@ article.indexTextDS .indexTextHighlighted .link {
3689
3689
  border-bottom-color: var(--color-secondary-ds);
3690
3690
  }
3691
3691
  .counter-reset {
3692
- counter-reset: cnt1732893574429;
3692
+ counter-reset: cnt1733221628417;
3693
3693
  }
3694
3694
  .placeholder-text-xs::-webkit-input-placeholder {
3695
3695
  font-size: 0.75rem;
@@ -4103,7 +4103,7 @@ article.indexTextDS .indexTextHighlighted .link {
4103
4103
  --tw-ring-color: rgba(255, 255, 255, 0.5);
4104
4104
  }
4105
4105
  .-ordered {
4106
- counter-increment: cnt1732893574429 1;
4106
+ counter-increment: cnt1733221628417 1;
4107
4107
  }
4108
4108
  .-ordered::before {
4109
4109
  position: absolute;
@@ -4121,7 +4121,7 @@ article.indexTextDS .indexTextHighlighted .link {
4121
4121
  --tw-text-opacity: 1;
4122
4122
  color: rgba(0, 0, 0, 1);
4123
4123
  color: rgba(0, 0, 0, var(--tw-text-opacity));
4124
- content: counter(cnt1732893574429);
4124
+ content: counter(cnt1733221628417);
4125
4125
  }
4126
4126
  /*! ****************************/
4127
4127
  /*! DataPolicy stuff */
@@ -4475,7 +4475,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
4475
4475
 
4476
4476
  --color-error: #cc1a14;
4477
4477
  --color-error-dark: #e07672;
4478
- --color-success: #2c7e13;
4478
+ --color-success: #2c7e13 !important;
4479
4479
  --color-form-highlight: var(--color-link);
4480
4480
  --color-form-highlight-dark: var(--color-link-dark);
4481
4481
 
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.28",
9
+ "version": "1.114.30",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -102,7 +102,7 @@
102
102
  "remark-gfm": "^4.0.0",
103
103
  "rimraf": "^3.0.2",
104
104
  "storybook": "^8.2.6",
105
- "storybook-addon-mock": "^5.0.0",
105
+ "storybook-addon-fetch-mock": "^2.0.1",
106
106
  "storybook-conditional-toolbar-selector": "^1.0.3",
107
107
  "style-loader": "^4.0.0",
108
108
  "tailwindcss": "^3.0.23",
@@ -165,7 +165,7 @@
165
165
 
166
166
  --color-error: theme('colors.red.thunderbird.hex');
167
167
  --color-error-dark: theme('colors.red.thunderbirdLight.hex');
168
- --color-success: #2c7e13;
168
+ --color-success: #2c7e13 !important;
169
169
  --color-form-highlight: var(--color-link);
170
170
  --color-form-highlight-dark: var(--color-link-dark);
171
171
 
@@ -19,18 +19,19 @@ export default {
19
19
  },
20
20
  ],
21
21
  parameters: {
22
- mockData: [
23
- {
24
- url: 'https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de',
25
- method: 'POST',
26
- status: 200,
27
- response: {
28
- "status":""
29
- // "status":"OK"
30
- // "status":"VALIDATION_ERROR", "errors":{"vorname":"form_error_required"}
31
- },
32
- },
33
- ],
22
+ fetchMock: {
23
+ mocks: [
24
+ {
25
+ matcher: 'https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de',
26
+ response: {
27
+ status: 200,
28
+ body: {
29
+ status: '',
30
+ },
31
+ },
32
+ }
33
+ ],
34
+ },
34
35
  layout: 'fullscreen',
35
36
  chromatic: { disableSnapshot: true }
36
37
  }
@@ -46,16 +47,19 @@ export const WithWebformStatusOk = {
46
47
  name: 'Formular Status OK',
47
48
  args: copytext_webform_simple_json,
48
49
  parameters: {
49
- mockData: [
50
- {
51
- url: 'https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de',
52
- method: 'POST',
53
- status: 200,
54
- response: {
55
- "status":"OK"
56
- },
57
- },
58
- ]
50
+ fetchMock: {
51
+ mocks: [
52
+ {
53
+ matcher: 'https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de',
54
+ response: {
55
+ status: 200,
56
+ body: {
57
+ status: 'OK'
58
+ },
59
+ },
60
+ }
61
+ ],
62
+ }
59
63
  }
60
64
  }
61
65
  export const WithWebformStatusNone = {
@@ -63,16 +67,19 @@ export const WithWebformStatusNone = {
63
67
  name: 'Formular Status None',
64
68
  args: copytext_webform_simple_json,
65
69
  parameters: {
66
- mockData: [
67
- {
68
- url: 'https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de',
69
- method: 'POST',
70
- status: 200,
71
- response: {
72
- "status":""
73
- },
74
- },
75
- ]
70
+ fetchMock: {
71
+ mocks: [
72
+ {
73
+ matcher: 'https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de',
74
+ response: {
75
+ status: 200,
76
+ body: {
77
+ status: '',
78
+ },
79
+ },
80
+ }
81
+ ],
82
+ }
76
83
  }
77
84
  }
78
85
  export const WithWebformStatusValidationError = {
@@ -80,15 +87,21 @@ export const WithWebformStatusValidationError = {
80
87
  name: 'Formular Status Validation Error',
81
88
  args: copytext_webform_simple_json,
82
89
  parameters: {
83
- mockData: [
84
- {
85
- url: 'https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de',
86
- method: 'POST',
87
- status: 200,
88
- response: {
89
- "status":"VALIDATION_ERROR", "errors":{"vorname":"form_error_required"}
90
- },
91
- },
92
- ]
90
+ fetchMock: {
91
+ mocks: [
92
+ {
93
+ matcher: 'https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de',
94
+ response: {
95
+ status: 200,
96
+ body: {
97
+ status: 'VALIDATION_ERROR',
98
+ errors: {
99
+ "vorname":"form_error_required"
100
+ }
101
+ },
102
+ },
103
+ }
104
+ ],
105
+ }
93
106
  }
94
107
  }