@ordergroove/offers 2.27.20 → 2.27.21
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 +8 -0
- package/dist/bundle-report.html +1 -1
- package/dist/offers.js +1 -1
- package/dist/offers.js.map +2 -2
- package/package.json +2 -2
- package/src/components/OptinButton.js +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.27.21](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.27.20...@ordergroove/offers@2.27.21) (2022-09-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @ordergroove/offers
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [2.27.20](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.27.19...@ordergroove/offers@2.27.20) (2022-09-26)
|
|
7
15
|
|
|
8
16
|
|
package/dist/bundle-report.html
CHANGED
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
├ src/core/connect.js ─────────────────────────────────────── 794b ──── 0.6%
|
|
171
171
|
│ └ src/make-api.js
|
|
172
172
|
│ └ src/index.js
|
|
173
|
-
├ src/components/OptinButton.js ─────────────────────────────
|
|
173
|
+
├ src/components/OptinButton.js ───────────────────────────── 690b ──── 0.5%
|
|
174
174
|
│ └ src/make-api.js
|
|
175
175
|
│ └ src/index.js
|
|
176
176
|
├ node_modules/lit-html/lib/template-result.js ────────────── 639b ──── 0.5%
|
package/dist/offers.js
CHANGED
|
@@ -178,7 +178,7 @@ var lib=(()=>{var Bi=Object.create;var Ge=Object.defineProperty;var zi=Object.ge
|
|
|
178
178
|
<slot name="frequency-mismatch"></slot>
|
|
179
179
|
`:p`
|
|
180
180
|
<slot name="not-subscribed"></slot>
|
|
181
|
-
`}};n(G,"OptinStatus");var X=n((t,e={})=>({subscribed:Q(e.product)(t),frequency:W(e.product)(t),...V(t,e,"defaultFrequency"),...De(t,e)}),"mapStateToProps"),ti=y(X)(G);var bo=class extends G{static get properties(){return{...super.properties,frequency:{type:String,reflect:!0},defaultFrequency:pe,optinButtonLabel:{type:String}}}handleClick(e){this.optinProduct(ho(this),this.
|
|
181
|
+
`}};n(G,"OptinStatus");var X=n((t,e={})=>({subscribed:Q(e.product)(t),frequency:W(e.product)(t),...V(t,e,"defaultFrequency"),...De(t,e)}),"mapStateToProps"),ti=y(X)(G);var bo=class extends G{static get properties(){return{...super.properties,frequency:{type:String,reflect:!0},defaultFrequency:pe,optinButtonLabel:{type:String}}}handleClick(e){this.optinProduct(ho(this),this.offer?this.offer.defaultFrequency:this.defaultFrequency,this.offer),e.preventDefault()}render(){return p`
|
|
182
182
|
<slot name="default">
|
|
183
183
|
<button id="action-trigger" class="btn radio ${this.subscribed?"active":""}"></button>
|
|
184
184
|
<label for="action-trigger">
|