ui.shipaid.com 0.3.13 → 0.3.14

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/README.md CHANGED
@@ -136,6 +136,9 @@ If you need to change any of the widget colors to suit a specific theme, there a
136
136
  | `--shipaid-prompt-footer-button-size` | Changes the height of info button in footer. | `var(--shipaid-prompt-footer-button-size, 10px)` |
137
137
  | `--shipaid-prompt-badge-border-radius` | Changes border radius of footer | `var(--shipaid-prompt-badge-border-radius, 30px)` |
138
138
  | `--shipaid-footer-badge-logo-height` | Changes the height of logo in footer. | `var(--shipaid-footer-badge-logo-height, 9px)` |
139
+ | `--shipaid-prompt-footer-location` | Changes the position of footer badge | `var(--shipaid-prompt-footer-location, flex-start)` |
140
+ | `--shipaid-prompt-product-actions-content` | Changes the spaces between price and add/remove button | `var(--shipaid-prompt-product-actions-content, space-between)` |
141
+ | `--shipaid-prompt-footer-topMargin` | Changes margin between header and badge footer | `var(--shipaid-prompt-footer-topMargin, 0px)` |
139
142
 
140
143
  Other variables can be found [here](/widget/src/assets/styles.ts) (`/widget/src/assets/styles.ts`).
141
144
 
package/dist/widget.es.js CHANGED
@@ -1704,7 +1704,7 @@ const styles = i$2`
1704
1704
  margin-left: auto;
1705
1705
  display: flex;
1706
1706
  flex-direction: column;
1707
- justify-content: space-between;
1707
+ justify-content: var(--shipaid-prompt-product-actions-content, space-between);
1708
1708
  text-align: right;
1709
1709
  min-width: 55px;
1710
1710
  }
@@ -1729,9 +1729,10 @@ const styles = i$2`
1729
1729
  text-align: right;
1730
1730
  }
1731
1731
  .shipaid-prompt .prompt-footer {
1732
+ margin-top: var(--shipaid-prompt-footer-topMargin, 0px);
1732
1733
  display: flex;
1733
1734
  flex-direction: row;
1734
- justify-content: flex-start;
1735
+ justify-content: var(--shipaid-prompt-footer-location, flex-start);
1735
1736
  align-items: center;
1736
1737
  }
1737
1738
  .shipaid-prompt .prompt-footer .prompt-footer-about {
@@ -2454,7 +2455,7 @@ let ShipAidWidget = class extends s$1 {
2454
2455
  margin-left: auto;
2455
2456
  display: flex;
2456
2457
  flex-direction: column;
2457
- justify-content: space-between;
2458
+ justify-content: var(--shipaid-prompt-product-actions-content, space-between);
2458
2459
  text-align: right;
2459
2460
  min-width: 55px;
2460
2461
  }
@@ -2479,9 +2480,10 @@ let ShipAidWidget = class extends s$1 {
2479
2480
  text-align: right;
2480
2481
  }
2481
2482
  .shipaid-prompt .prompt-footer {
2483
+ margin-top: var(--shipaid-prompt-footer-topMargin, 0px);
2482
2484
  display: flex;
2483
2485
  flex-direction: row;
2484
- justify-content: flex-start;
2486
+ justify-content: var(--shipaid-prompt-footer-location, flex-start);
2485
2487
  align-items: center;
2486
2488
  }
2487
2489
  .shipaid-prompt .prompt-footer .prompt-footer-about {
@@ -728,7 +728,7 @@ function It(t,e,i){return t?e():null==i?void 0:i()}const qt=u`
728
728
  margin-left: auto;
729
729
  display: flex;
730
730
  flex-direction: column;
731
- justify-content: space-between;
731
+ justify-content: var(--shipaid-prompt-product-actions-content, space-between);
732
732
  text-align: right;
733
733
  min-width: 55px;
734
734
  }
@@ -753,9 +753,10 @@ function It(t,e,i){return t?e():null==i?void 0:i()}const qt=u`
753
753
  text-align: right;
754
754
  }
755
755
  .shipaid-prompt .prompt-footer {
756
+ margin-top: var(--shipaid-prompt-footer-topMargin, 0px);
756
757
  display: flex;
757
758
  flex-direction: row;
758
- justify-content: flex-start;
759
+ justify-content: var(--shipaid-prompt-footer-location, flex-start);
759
760
  align-items: center;
760
761
  }
761
762
  .shipaid-prompt .prompt-footer .prompt-footer-about {
@@ -935,7 +936,7 @@ function It(t,e,i){return t?e():null==i?void 0:i()}const qt=u`
935
936
  margin-left: auto;
936
937
  display: flex;
937
938
  flex-direction: column;
938
- justify-content: space-between;
939
+ justify-content: var(--shipaid-prompt-product-actions-content, space-between);
939
940
  text-align: right;
940
941
  min-width: 55px;
941
942
  }
@@ -960,9 +961,10 @@ function It(t,e,i){return t?e():null==i?void 0:i()}const qt=u`
960
961
  text-align: right;
961
962
  }
962
963
  .shipaid-prompt .prompt-footer {
964
+ margin-top: var(--shipaid-prompt-footer-topMargin, 0px);
963
965
  display: flex;
964
966
  flex-direction: row;
965
- justify-content: flex-start;
967
+ justify-content: var(--shipaid-prompt-footer-location, flex-start);
966
968
  align-items: center;
967
969
  }
968
970
  .shipaid-prompt .prompt-footer .prompt-footer-about {
@@ -728,7 +728,7 @@ function It(t,e,i){return t?e():null==i?void 0:i()}const qt=u`
728
728
  margin-left: auto;
729
729
  display: flex;
730
730
  flex-direction: column;
731
- justify-content: space-between;
731
+ justify-content: var(--shipaid-prompt-product-actions-content, space-between);
732
732
  text-align: right;
733
733
  min-width: 55px;
734
734
  }
@@ -753,9 +753,10 @@ function It(t,e,i){return t?e():null==i?void 0:i()}const qt=u`
753
753
  text-align: right;
754
754
  }
755
755
  .shipaid-prompt .prompt-footer {
756
+ margin-top: var(--shipaid-prompt-footer-topMargin, 0px);
756
757
  display: flex;
757
758
  flex-direction: row;
758
- justify-content: flex-start;
759
+ justify-content: var(--shipaid-prompt-footer-location, flex-start);
759
760
  align-items: center;
760
761
  }
761
762
  .shipaid-prompt .prompt-footer .prompt-footer-about {
@@ -935,7 +936,7 @@ function It(t,e,i){return t?e():null==i?void 0:i()}const qt=u`
935
936
  margin-left: auto;
936
937
  display: flex;
937
938
  flex-direction: column;
938
- justify-content: space-between;
939
+ justify-content: var(--shipaid-prompt-product-actions-content, space-between);
939
940
  text-align: right;
940
941
  min-width: 55px;
941
942
  }
@@ -960,9 +961,10 @@ function It(t,e,i){return t?e():null==i?void 0:i()}const qt=u`
960
961
  text-align: right;
961
962
  }
962
963
  .shipaid-prompt .prompt-footer {
964
+ margin-top: var(--shipaid-prompt-footer-topMargin, 0px);
963
965
  display: flex;
964
966
  flex-direction: row;
965
- justify-content: flex-start;
967
+ justify-content: var(--shipaid-prompt-footer-location, flex-start);
966
968
  align-items: center;
967
969
  }
968
970
  .shipaid-prompt .prompt-footer .prompt-footer-about {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ui.shipaid.com",
3
3
  "private": false,
4
- "version": "0.3.13",
4
+ "version": "0.3.14",
5
5
  "type": "module",
6
6
  "main": "dist/widget.umd.js",
7
7
  "unpkg": "dist/widget.iife.js",