@softwareone/spi-sv5-library 1.7.6 → 1.7.8

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.
@@ -17,7 +17,7 @@
17
17
  </a>
18
18
  <ul class="links">
19
19
  <li>
20
- <a href="mailto:support@softwareone.com" title="support@softwareone.com">Support</a>
20
+ <a href="mailto:servicedesk@softwareone.com" title="servicedesk@softwareone.com">Support</a>
21
21
  </li>
22
22
  <li>
23
23
  <a
@@ -29,12 +29,7 @@
29
29
  </li>
30
30
  </ul>
31
31
  <ul class="legal">
32
- <li>
33
- Shared Platform & Integrations - <a
34
- href="mailto:servicedesk@softwareone.com"
35
- title="servicedesk@softwareone.com">servicedesk@softwareone.com</a
36
- >
37
- </li>
32
+ <li>Shared Platform & Integrations</li>
38
33
  <li>© 2025 SoftwareOne. All rights reserved</li>
39
34
  </ul>
40
35
  </footer>
@@ -95,8 +95,10 @@
95
95
 
96
96
  const getErrors = (
97
97
  errors: ValidationErrors<Record<string, unknown>>,
98
- tained: TaintedFields<Record<string, unknown>>
98
+ tained: TaintedFields<Record<string, unknown>> | undefined
99
99
  ) => {
100
+ if (!tained) return {} as FormError<Schema>;
101
+
100
102
  const errorEntries = Object.entries(errors)
101
103
  .filter(([field]) => Object.hasOwn(tained, field))
102
104
  .map(([field, error]) => [field, error && '_errors' in error ? error._errors : error]);
@@ -135,7 +137,7 @@
135
137
  ) {
136
138
  $errors = getErrors(
137
139
  $superFormErrors,
138
- untrack(() => $superFormTained!)
140
+ untrack(() => $superFormTained)
139
141
  );
140
142
  }
141
143
  });
@@ -81,7 +81,7 @@
81
81
  }
82
82
 
83
83
  h2 {
84
- font-weight: bold;
84
+ font-weight: 500;
85
85
  }
86
86
 
87
87
  .text-description {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softwareone/spi-sv5-library",
3
- "version": "1.7.6",
3
+ "version": "1.7.8",
4
4
  "description": "Svelte components",
5
5
  "keywords": [
6
6
  "svelte",