@salesforcedevs/dx-components 1.14.2 → 1.14.3

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/lwc.config.json CHANGED
@@ -41,6 +41,7 @@
41
41
  "dx/dropdown",
42
42
  "dx/dropdownOption",
43
43
  "dx/embeddedVideo",
44
+ "dx/errorFallback",
44
45
  "dx/emptyState",
45
46
  "dx/eyebrow",
46
47
  "dx/faq",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.14.2",
3
+ "version": "1.14.3",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -46,5 +46,5 @@
46
46
  "volta": {
47
47
  "node": "20.19.0"
48
48
  },
49
- "gitHead": "5ceecca5be7104a277cacc732f83b8cc734c4754"
49
+ "gitHead": "38673de3b14ac9ca249104a8c271810cf8b52387"
50
50
  }
@@ -0,0 +1,26 @@
1
+ @import "dxHelpers/text";
2
+
3
+ .error-container {
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: center;
7
+ gap: 44px;
8
+ }
9
+
10
+ .error-image {
11
+ width: 445.467px;
12
+ height: 260px;
13
+ padding: 42.467px 35.214px 0 35.533px;
14
+ }
15
+
16
+ .dx-text-display-4 {
17
+ font-weight: var(--dx-g-font-demi);
18
+ letter-spacing: -0.32px;
19
+ }
20
+
21
+ .dx-text-body-1 {
22
+ letter-spacing: 0.024px;
23
+ font-weight: var(--dx-g-font-normal);
24
+ text-align: center;
25
+ width: 528px;
26
+ }
@@ -0,0 +1,14 @@
1
+ <template>
2
+ <div class="error-container">
3
+ <img
4
+ src="https://a.sfdcstatic.com/developer-website/images/error-fallback.svg"
5
+ alt="error fallback image"
6
+ class="error-image"
7
+ />
8
+ <div class="dx-text-display-4">Temporary Loading Glitch</div>
9
+ <div class="dx-text-body-1">
10
+ Looks like this content has briefly vanished into the horizon!
11
+ Refresh the page and try again.
12
+ </div>
13
+ </div>
14
+ </template>
@@ -0,0 +1,3 @@
1
+ import { LightningElement } from "lwc";
2
+
3
+ export default class ErrorFallback extends LightningElement {}