@salesforcedevs/dx-components 1.15.5 → 1.15.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.15.5",
3
+ "version": "1.15.6",
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": "ea81367033c116e757e0d30098ffb521086df871"
49
+ "gitHead": "da103bd99b2f289599d528b9b8fd5860224f3bdc"
50
50
  }
@@ -5,22 +5,23 @@
5
5
  flex-direction: column;
6
6
  align-items: center;
7
7
  gap: 44px;
8
+ margin-bottom: var(--dx-g-spacing-2xl);
8
9
  }
9
10
 
10
11
  .error-image {
11
- width: 445.467px;
12
- height: 260px;
13
- padding: 42.467px 35.214px 0 35.533px;
12
+ width: 375px;
13
+ height: 218px;
14
14
  }
15
15
 
16
16
  .dx-text-display-4 {
17
17
  font-weight: var(--dx-g-font-demi);
18
18
  letter-spacing: -0.32px;
19
+ text-align: center;
19
20
  }
20
21
 
21
22
  .dx-text-body-1 {
22
23
  letter-spacing: 0.024px;
23
24
  font-weight: var(--dx-g-font-normal);
24
25
  text-align: center;
25
- width: 528px;
26
+ max-width: 528px;
26
27
  }
@@ -5,10 +5,7 @@
5
5
  alt="error fallback image"
6
6
  class="error-image"
7
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>
8
+ <div class="dx-text-display-4">{title}</div>
9
+ <div class="dx-text-body-1">{description}</div>
13
10
  </div>
14
11
  </template>
@@ -1,3 +1,7 @@
1
- import { LightningElement } from "lwc";
1
+ import { api, LightningElement } from "lwc";
2
2
 
3
- export default class ErrorFallback extends LightningElement {}
3
+ export default class ErrorFallback extends LightningElement {
4
+ @api title: string = "Temporary Loading Glitch";
5
+ @api description: string =
6
+ "Looks like this content has briefly vanished into the horizon! Refresh the page and try again.";
7
+ }