@simplybusiness/theme-simplybusiness 2.13.5 → 2.13.7

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,32 @@
1
1
  # @simplybusiness/theme-simplybusiness
2
2
 
3
+ ## 2.13.7
4
+
5
+ ### Patch Changes
6
+
7
+ - ff65d9d: Add PaymentTermsChecklist component for payment term agreements with embedded links that open in a Drawer.
8
+ - Updated dependencies [28a45c7]
9
+ - Updated dependencies [98b0812]
10
+ - Updated dependencies [ff65d9d]
11
+ - Updated dependencies [409219d]
12
+ - Updated dependencies [a9af99f]
13
+ - Updated dependencies [3b31d7b]
14
+ - Updated dependencies [e8f2cc5]
15
+ - Updated dependencies [6da598a]
16
+ - @simplybusiness/mobius-journey@11.35.0
17
+ - @simplybusiness/mobius@6.10.1
18
+ - @simplybusiness/mobius-interventions@3.8.3
19
+ - @simplybusiness/mobius-chatbot@2.2.13
20
+ - @simplybusiness/mobius-datepicker@7.3.13
21
+ - @simplybusiness/theme-core@7.14.16
22
+
23
+ ## 2.13.6
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [1799d6c]
28
+ - @simplybusiness/mobius-journey@11.34.1
29
+
3
30
  ## 2.13.5
4
31
 
5
32
  ### Patch Changes
package/dist/index.css CHANGED
@@ -7413,6 +7413,66 @@ svg:not(:host).svg-inline--mobius-icon{
7413
7413
  padding:var(--size-xs);
7414
7414
  margin-top:var(--size-sm);
7415
7415
  }
7416
+ .mobius-payment-terms-checklist__label{
7417
+ display:flex;
7418
+ align-items:flex-start;
7419
+ cursor:pointer;
7420
+ }
7421
+ .mobius-payment-terms-checklist__label.--is-disabled{
7422
+ cursor:not-allowed;
7423
+ color:var(--checkbox-label-color-disabled);
7424
+ }
7425
+ .mobius-payment-terms-checklist__input{
7426
+ appearance:none;
7427
+ flex-shrink:0;
7428
+ width:var(--size-lg);
7429
+ height:var(--size-lg);
7430
+ margin:0;
7431
+ border:var(--size-border-width) solid var(--color-secondary);
7432
+ border-radius:var(--radius-1);
7433
+ background:transparent no-repeat center;
7434
+ cursor:pointer;
7435
+ }
7436
+ .mobius-payment-terms-checklist__input:focus-visible{
7437
+ box-shadow:var(--box-shadow-default);
7438
+ }
7439
+ .mobius-payment-terms-checklist__input:hover:not(.--is-disabled):not(.--is-invalid){
7440
+ border-color:var(--color-secondary-hover);
7441
+ }
7442
+ .mobius-payment-terms-checklist__input.--is-selected{
7443
+ background-color:var(--color-secondary);
7444
+ background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27white%27%3E%3Cpath d=%27M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z%27/%3E%3C/svg%3E");
7445
+ background-size:20px;
7446
+ }
7447
+ .mobius-payment-terms-checklist__input.--is-invalid:not(.--is-disabled){
7448
+ border-color:var(--color-error);
7449
+ }
7450
+ .mobius-payment-terms-checklist__input.--is-disabled{
7451
+ border-color:var(--checkbox-border-color-disabled);
7452
+ background-color:var(--checkbox-background-color-disabled);
7453
+ cursor:not-allowed;
7454
+ }
7455
+ .mobius-payment-terms-checklist__input.--is-disabled.--is-selected{
7456
+ background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27%23d1d1d2%27%3E%3Cpath d=%27M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z%27/%3E%3C/svg%3E");
7457
+ }
7458
+ .mobius-payment-terms-checklist__text{
7459
+ padding-top:var(--size-xxs);
7460
+ margin-left:var(--size-sm);
7461
+ }
7462
+ .mobius-payment-terms-checklist__link{
7463
+ color:var(--color-link);
7464
+ }
7465
+ .mobius-payment-terms-checklist__link:hover{
7466
+ color:var(--color-link-hover);
7467
+ }
7468
+ .mobius-payment-terms-checklist__link:focus-visible{
7469
+ outline:var(--size-focus-ring) solid var(--color-focus);
7470
+ outline-offset:var(--size-focus-ring);
7471
+ border-radius:var(--size-focus-ring);
7472
+ }
7473
+ .mobius-payment-terms-checklist .mobius-error-message{
7474
+ margin-top:var(--size-md);
7475
+ }
7416
7476
  .mobius-dialogue-modal__description{
7417
7477
  margin:7px;
7418
7478
  text-align:left;
@@ -8401,26 +8461,33 @@ input[type="date"]::-webkit-datetime-edit-year-field{
8401
8461
  }
8402
8462
  .trust-banner__content{
8403
8463
  margin:20px 0;
8404
- text-align:center;
8405
8464
  font-weight:600;
8406
8465
  font-size:24px;
8407
- padding:0 20px;
8466
+ font-family:museosans, sans-serif;
8408
8467
  }
8409
8468
  @media (max-width: 700px){
8410
8469
  .trust-banner__content{
8411
8470
  font-size:16px;
8412
- padding:0;
8413
8471
  }
8414
8472
  }
8415
- .trust-banner__content .trust-banner__image-trustpilot{
8416
- max-width:462px;
8417
- width:100%;
8473
+ .trust-banner__image{
8474
+ max-width:462px;
8475
+ width:100%;
8476
+ }
8477
+ @media (max-width: 700px){
8478
+ .trust-banner__image{
8479
+ max-width:332px;
8480
+ }
8418
8481
  }
8482
+ .trust-banner__content-trustpilot{
8483
+ text-align:center;
8484
+ padding:0 20px;
8485
+ }
8419
8486
  @media (max-width: 700px){
8420
- .trust-banner__content .trust-banner__image-trustpilot{
8421
- max-width:332px;
8487
+ .trust-banner__content-trustpilot{
8488
+ padding:0;
8489
+ }
8422
8490
  }
8423
- }
8424
8491
  .mobius-chatbot{
8425
8492
  height:100%;
8426
8493
  display:flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-simplybusiness",
3
- "version": "2.13.5",
3
+ "version": "2.13.7",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -28,15 +28,15 @@
28
28
  "./fonts": "./dist/fonts.css"
29
29
  },
30
30
  "dependencies": {
31
- "@simplybusiness/mobius": "^6.10.0",
32
- "@simplybusiness/mobius-chatbot": "^2.2.12",
33
- "@simplybusiness/mobius-datepicker": "^7.3.12",
34
- "@simplybusiness/mobius-interventions": "^3.8.2",
35
- "@simplybusiness/mobius-journey": "^11.34.0",
36
- "@simplybusiness/theme-core": "^7.14.15"
31
+ "@simplybusiness/mobius": "^6.10.1",
32
+ "@simplybusiness/mobius-chatbot": "^2.2.13",
33
+ "@simplybusiness/mobius-datepicker": "^7.3.13",
34
+ "@simplybusiness/mobius-interventions": "^3.8.3",
35
+ "@simplybusiness/mobius-journey": "^11.35.0",
36
+ "@simplybusiness/theme-core": "^7.14.16"
37
37
  },
38
38
  "devDependencies": {
39
- "build-scripts": "^1.1.0",
39
+ "build-scripts": "^1.1.1",
40
40
  "react": "^19.2.1",
41
41
  "react-dom": "^19.2.1"
42
42
  }
package/src/index.css CHANGED
@@ -98,6 +98,7 @@
98
98
  @import "@simplybusiness/mobius-journey/src/components/SmsButton/SmsButton.css";
99
99
  /* Journey Components (payment summary, etc.) */
100
100
  @import "@simplybusiness/mobius-journey/src/components/shared/PersistentSummary/styles.css";
101
+ @import "@simplybusiness/mobius-journey/src/components/shared/PersistentSummary/PaymentTermsChecklist/PaymentTermsChecklist.css";
101
102
  @import "@simplybusiness/mobius-journey/src/components/shared/DialogueModal/DialogueModal.css";
102
103
  @import "@simplybusiness/mobius-journey/src/components/shared/TransferConsentPageUK/styles.css";
103
104
  @import "@simplybusiness/mobius-journey/src/components/shared/QuoteDetailsForm/styles.css";