@simplybusiness/theme-simplybusiness 0.2.0 → 0.3.0

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,5 +1,27 @@
1
1
  # @simplybusiness/theme-simplybusiness
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 438bc72: On error display generic error page in mobius-journey
8
+
9
+ ### Patch Changes
10
+
11
+ - e871867: Remove margins from body element
12
+ - d379153: Remove extra import of theme-core from themes that inherit from theme-simplybusiness
13
+ - Updated dependencies [438bc72]
14
+ - Updated dependencies [cdbccb7]
15
+ - @simplybusiness/mobius-journey@6.3.0
16
+
17
+ ## 0.2.1
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [8053ee0]
22
+ - Updated dependencies [abfc670]
23
+ - @simplybusiness/mobius-journey@6.2.1
24
+
3
25
  ## 0.2.0
4
26
 
5
27
  ### Minor Changes
package/dist/index.css CHANGED
@@ -3439,6 +3439,17 @@ svg:not(:host).svg-inline--mobius-icon{
3439
3439
  color:#2a1e81;
3440
3440
  color:var(--color-primary-hover);
3441
3441
  }
3442
+ .error-boundary__container{
3443
+ display:flex;
3444
+ flex-direction:column;
3445
+ height:100%;
3446
+ }
3447
+ .error-boundary__message{
3448
+ display:grid;
3449
+ align-content:center;
3450
+ flex-grow:1;
3451
+ text-align:center;
3452
+ }
3442
3453
  :root,
3443
3454
  :host{
3444
3455
  --header-border-color:transparent;
@@ -5644,6 +5655,11 @@ svg:not(:host).svg-inline--mobius-icon{
5644
5655
  :root,
5645
5656
  :host{
5646
5657
  }
5658
+ html,
5659
+ body{
5660
+ height:100%;
5661
+ margin:0;
5662
+ }
5647
5663
  body{
5648
5664
  background-color:transparent;
5649
5665
  background-color:var(--color-background-body);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-simplybusiness",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@simplybusiness/mobius": "^5.1.0",
30
30
  "@simplybusiness/mobius-datepicker": "^6.0.2",
31
- "@simplybusiness/mobius-journey": "^6.2.0",
31
+ "@simplybusiness/mobius-journey": "^6.3.0",
32
32
  "@simplybusiness/theme-core": "^7.1.0"
33
33
  },
34
34
  "devDependencies": {
package/src/index.css CHANGED
@@ -12,6 +12,7 @@
12
12
  @import "../../mobius-journey/src/archived/Testimonial/Testimonial.css";
13
13
  @import "../../mobius-journey/src/components/AgentResources/AgentResources.css";
14
14
  @import "../../mobius-journey/src/components/Footer/Footer.css";
15
+ @import "../../mobius-journey/src/components/ErrorBoundary/ErrorBoundary.css";
15
16
  @import "../../mobius-journey/src/components/Header/Header.css";
16
17
  @import "../../mobius-journey/src/components/InfoCard/InfoCard.css";
17
18
  @import "../../mobius-journey/src/components/NextCoverage/NextCoverage.css";
@@ -39,6 +40,12 @@
39
40
  @import "./fonts.css";
40
41
  @import "./variables.css";
41
42
 
43
+ html,
44
+ body {
45
+ height: 100%;
46
+ margin: 0;
47
+ }
48
+
42
49
  body {
43
50
  background-color: var(--color-background-body);
44
51
  }