@ordergroove/offers 2.27.15 → 2.27.17

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
@@ -3,6 +3,29 @@
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.17](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.27.16...@ordergroove/offers@2.27.17) (2022-09-15)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **offers:** Offer should update and hide when no valid product or product attribute is removed. ([9e33c48](https://github.com/ordergroove/plush-toys/commit/9e33c482f9b9afcdaab1577cad316125b8f7843a))
12
+ * **offers:** undefined frequency test initial reducer canary ([bca0c4a](https://github.com/ordergroove/plush-toys/commit/bca0c4a9a748b518e59d3db941f40e7b0de7e1ab))
13
+
14
+
15
+
16
+
17
+
18
+ ## [2.27.16](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.27.15...@ordergroove/offers@2.27.16) (2022-09-14)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **offers:** include variation ID in tracking events ([e449819](https://github.com/ordergroove/plush-toys/commit/e449819898f4aa711dc20aca0b6321f9bf05ca13))
24
+
25
+
26
+
27
+
28
+
6
29
  ## [2.27.15](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.27.14...@ordergroove/offers@2.27.15) (2022-09-12)
7
30
 
8
31
 
@@ -1,19 +1,19 @@
1
1
  <pre id="esbuild-metadata">
2
- dist/examples.js ─────────────────────────────────────────── 258.3kb ─ 100.0%
3
- ├ ../offers-templates/dist/main.js ──────────────────────── 248.9kb ── 96.4%
2
+ dist/examples.js ─────────────────────────────────────────── 258.4kb ─ 100.0%
3
+ ├ ../offers-templates/dist/main.js ──────────────────────── 248.9kb ── 96.3%
4
4
  │ └ examples/index.js
5
- └ examples/index.js ───────────────────────────────────────── 8.4kb ─── 3.3%
5
+ └ examples/index.js ───────────────────────────────────────── 8.5kb ─── 3.3%
6
6
 
7
- dist/offers.js ───────────────────────────────────────────── 122.3kb ─ 100.0%
7
+ dist/offers.js ───────────────────────────────────────────── 122.7kb ─ 100.0%
8
8
  ├ src/components/Offer.js ─────────────────────────────────── 8.1kb ─── 6.6%
9
9
  │ └ src/make-api.js
10
10
  │ └ src/index.js
11
- ├ node_modules/redux/es/redux.js ──────────────────────────── 6.7kb ─── 5.5%
11
+ ├ node_modules/redux/es/redux.js ──────────────────────────── 6.7kb ─── 5.4%
12
12
  │ └ src/shopify/shopifyReducer.js
13
13
  │ └ src/index.js
14
14
  ├ src/core/reducer.js ─────────────────────────────────────── 6.1kb ─── 5.0%
15
15
  │ └ src/index.js
16
- ├ src/components/TestWizard.js ────────────────────────────── 5.5kb ─── 4.5%
16
+ ├ src/components/TestWizard.js ────────────────────────────── 5.5kb ─── 4.4%
17
17
  │ └ src/run-tests.js
18
18
  │ └ src/test-mode.js
19
19
  │ └ src/make-api.js
@@ -23,7 +23,7 @@
23
23
  │ └ src/components/Price.js
24
24
  │ └ src/make-api.js
25
25
  │ └ src/index.js
26
- ├ node_modules/lit-html/lib/parts.js ──────────────────────── 5.0kb ─── 4.1%
26
+ ├ node_modules/lit-html/lib/parts.js ──────────────────────── 5.0kb ─── 4.0%
27
27
  │ └ node_modules/lit-html/lit-html.js
28
28
  │ └ node_modules/lit-element/lit-element.js
29
29
  │ └ src/components/Price.js
@@ -37,12 +37,12 @@
37
37
  ├ src/components/Tooltip.js ───────────────────────────────── 4.4kb ─── 3.6%
38
38
  │ └ src/make-api.js
39
39
  │ └ src/index.js
40
- ├ src/shopify/shopifyReducer.js ───────────────────────────── 4.0kb ─── 3.3%
40
+ ├ src/shopify/shopifyReducer.js ───────────────────────────── 4.1kb ─── 3.4%
41
41
  │ └ src/index.js
42
42
  ├ node_modules/lodash.memoize/index.js ────────────────────── 4.0kb ─── 3.3%
43
43
  │ └ src/shopify/shopifyMiddleware.ts
44
44
  │ └ src/index.js
45
- ├ src/core/actions.js ─────────────────────────────────────── 3.7kb ─── 3.1%
45
+ ├ src/core/actions.js ─────────────────────────────────────── 3.7kb ─── 3.0%
46
46
  │ └ src/shopify/shopifyBootstrap.ts
47
47
  │ └ src/index.js
48
48
  ├ src/make-api.js ─────────────────────────────────────────── 2.6kb ─── 2.1%
@@ -65,7 +65,10 @@
65
65
  │ └ src/components/Price.js
66
66
  │ └ src/make-api.js
67
67
  │ └ src/index.js
68
- ├ src/components/IncentiveText.js ─────────────────────────── 2.0kb ─── 1.6%
68
+ ├ src/components/SelectFrequency.js ───────────────────────── 2.0kb ─── 1.6%
69
+ │ └ src/make-api.js
70
+ │ └ src/index.js
71
+ ├ src/components/IncentiveText.js ─────────────────────────── 1.9kb ─── 1.5%
69
72
  │ └ src/make-api.js
70
73
  │ └ src/index.js
71
74
  ├ node_modules/lit-html/lib/template.js ───────────────────── 1.8kb ─── 1.5%
@@ -74,9 +77,6 @@
74
77
  │ └ src/components/Price.js
75
78
  │ └ src/make-api.js
76
79
  │ └ src/index.js
77
- ├ src/components/SelectFrequency.js ───────────────────────── 1.8kb ─── 1.5%
78
- │ └ src/make-api.js
79
- │ └ src/index.js
80
80
  ├ node_modules/lit-element/lit-element.js ─────────────────── 1.8kb ─── 1.4%
81
81
  │ └ src/components/Price.js
82
82
  │ └ src/make-api.js
@@ -96,7 +96,7 @@
96
96
  ├ src/core/selectors.js ───────────────────────────────────── 1.3kb ─── 1.1%
97
97
  │ └ src/shopify/shopifyMiddleware.ts
98
98
  │ └ src/index.js
99
- ├ node_modules/reselect/es/index.js ───────────────────────── 1.3kb ─── 1.1%
99
+ ├ node_modules/reselect/es/index.js ───────────────────────── 1.3kb ─── 1.0%
100
100
  │ └ src/core/selectors.js
101
101
  │ └ src/shopify/shopifyMiddleware.ts
102
102
  │ └ src/index.js
@@ -147,11 +147,11 @@
147
147
  │ └ src/components/Price.js
148
148
  │ └ src/make-api.js
149
149
  │ └ src/index.js
150
+ ├ src/core/utils.ts ───────────────────────────────────────── 960b ──── 0.8%
151
+ │ └ src/index.js
150
152
  ├ src/core/middleware.js ──────────────────────────────────── 951b ──── 0.8%
151
153
  │ └ src/core/store.js
152
154
  │ └ src/index.js
153
- ├ src/core/utils.ts ───────────────────────────────────────── 945b ──── 0.8%
154
- │ └ src/index.js
155
155
  ├ ../offers-live-editor/dist/offers-live-editor.js ────────── 921b ──── 0.7%
156
156
  │ └ src/make-api.js
157
157
  │ └ src/index.js
@@ -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 ───────────────────────────── 690b ──── 0.6%
173
+ ├ src/components/OptinButton.js ───────────────────────────── 691b ──── 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%
@@ -184,13 +184,13 @@
184
184
  │ └ src/components/When.js
185
185
  │ └ src/make-api.js
186
186
  │ └ src/index.js
187
- ├ src/core/adapters.js ────────────────────────────────────── 555b ──── 0.4%
187
+ ├ src/components/When.js ──────────────────────────────────── 564b ──── 0.4%
188
188
  │ └ src/make-api.js
189
189
  │ └ src/index.js
190
- ├ src/components/OptoutButton.js ──────────────────────────── 545b ──── 0.4%
190
+ ├ src/core/adapters.js ────────────────────────────────────── 555b ──── 0.4%
191
191
  │ └ src/make-api.js
192
192
  │ └ src/index.js
193
- ├ src/components/When.js ──────────────────────────────────── 544b ──── 0.4%
193
+ ├ src/components/OptoutButton.js ──────────────────────────── 546b ──── 0.4%
194
194
  │ └ src/make-api.js
195
195
  │ └ src/index.js
196
196
  ├ src/core/dateUtils.js ───────────────────────────────────── 541b ──── 0.4%
package/dist/examples.js CHANGED
@@ -560,12 +560,12 @@ og-price[subscription] {
560
560
  `+((t=(i(e,"case")||r&&i(r,"case")||s).call(n,"buttons",{name:"case",hash:{},fn:l.program(14,a,0),inverse:l.noop,data:a,loc:{start:{line:8,column:4},end:{line:8,column:46}}}))!=null?t:"")+`
561
561
  `+((t=(i(e,"default")||r&&i(r,"default")||s).call(n,"<!-- No offer configured --> ",{name:"default",hash:{},fn:l.program(16,a,0),inverse:l.noop,data:a,loc:{start:{line:9,column:4},end:{line:9,column:61}}}))!=null?t:"")+`
562
562
  `},"2":function(l,r,e,o,a){var t,n=l.lookupProperty||function(s,i){if(Object.prototype.hasOwnProperty.call(s,i))return s[i]};return" "+((t=l.invokePartial(n(o,"radio"),r,{name:"radio",data:a,helpers:e,partials:o,decorators:l.decorators}))!=null?t:"")+" "},"4":function(l,r,e,o,a){var t,n=l.lookupProperty||function(s,i){if(Object.prototype.hasOwnProperty.call(s,i))return s[i]};return" "+((t=l.invokePartial(n(o,"cart"),r,{name:"cart",data:a,helpers:e,partials:o,decorators:l.decorators}))!=null?t:"")+" "},"6":function(l,r,e,o,a){var t,n=l.lookupProperty||function(s,i){if(Object.prototype.hasOwnProperty.call(s,i))return s[i]};return" "+((t=l.invokePartial(n(o,"select"),r,{name:"select",data:a,helpers:e,partials:o,decorators:l.decorators}))!=null?t:"")+" "},"8":function(l,r,e,o,a){var t,n=l.lookupProperty||function(s,i){if(Object.prototype.hasOwnProperty.call(s,i))return s[i]};return" "+((t=l.invokePartial(n(o,"toggle"),r,{name:"toggle",data:a,helpers:e,partials:o,decorators:l.decorators}))!=null?t:"")+" "},"10":function(l,r,e,o,a){var t,n=l.lookupProperty||function(s,i){if(Object.prototype.hasOwnProperty.call(s,i))return s[i]};return" "+((t=l.invokePartial(n(o,"side-by-side"),r,{name:"side-by-side",data:a,helpers:e,partials:o,decorators:l.decorators}))!=null?t:"")+" "},"12":function(l,r,e,o,a){var t,n=l.lookupProperty||function(s,i){if(Object.prototype.hasOwnProperty.call(s,i))return s[i]};return" "+((t=l.invokePartial(n(o,"read-only"),r,{name:"read-only",data:a,helpers:e,partials:o,decorators:l.decorators}))!=null?t:"")+" "},"14":function(l,r,e,o,a){var t,n=l.lookupProperty||function(s,i){if(Object.prototype.hasOwnProperty.call(s,i))return s[i]};return" "+((t=l.invokePartial(n(o,"buttons"),r,{name:"buttons",data:a,helpers:e,partials:o,decorators:l.decorators}))!=null?t:"")+" "},"16":function(l,r,e,o,a){return""},compiler:[8,">= 4.3.0"],main:function(l,r,e,o,a){var t,n=l.lookupProperty||function(s,i){if(Object.prototype.hasOwnProperty.call(s,i))return s[i]};return(t=(n(e,"switch")||r&&n(r,"switch")||l.hooks.helperMissing).call(r??(l.nullContext||{}),(t=r!=null?n(r,"settings"):r)!=null?n(t,"offerType"):t,{name:"switch",hash:{},fn:l.program(1,a,0),inverse:l.noop,data:a,loc:{start:{line:1,column:0},end:{line:10,column:11}}}))!=null?t:""},usePartial:!0,useData:!0});function La(l){return Vl(l).trim()}d(La,"to"),c(La,"getMarkup");var Ql=ir(Yi()),$r=ir(Nl()),Kl={buttons:zl(),cart:Ul(),"side-by-side":Hl(),radio:Bl()},Gl=c(l=>(0,$r.default)(Kl,(0,$r.default)(l,"settings.offerType",""),""),"getStylesheet"),Jl=c(l=>[Gl(l),"* {",...(0,Ql.mapStyles)((0,$r.default)(l,"styles",{})).map(r=>`${r.join(": ")};`),"}"].filter(r=>r).join(`
563
- `),"getStyles"),Wl={radio:{isAdvanced:!1,name:"radio"},cart:{isAdvanced:!1,name:"cart"},toggle:{isAdvanced:!1,name:"toggle"},select:{isAdvanced:!1,name:"select"},"side-by-side":{isAdvanced:!1,name:"side-by-side"},buttons:{isAdvanced:!0,name:"buttons"},"read-only":{isAdvanced:!0,name:"read-only",defaultPreviewMode:"subscribed"}};return Ta})();return oe})});var sr=Eu(Ga());window.og_settings={product_discounts:{UD729:{"3_1":["30.00","10%","$27.00"],"1_2":["30.00","20%","$24.00"]}}};var Ja=[{every:1,period:1},{every:1,period:2},{every:1,period:3},{every:2,period:3}],et={defaultFrequency:Ja[2],frequencies:[...Ja]},tt={showTooltip:!0,offerOptInLabel:"Subscribe to save",offerIncentiveText:"Save {{ogIncentive DiscountPercent}} when you subscribe",offerOptOutLabel:"Deliver one-time only",offerEveryLabel:"Deliver every",offerTooltipTrigger:"[?]",offerTooltipContent:"Seems this is a great subscription offering. Many fun details about this program exist.",optinButtonLabel:"\u2022",optoutButtonLabel:"\u2022",optinStatusOptedInLabel:"You're opted in!",optinStatusOptedOutLabel:"You're not opted in.",optinToggleLabel:"\u2022",upsellButtonLabel:"Add item to order on ",upsellButtonPrefix:"",upsellModalContent:"Some upsell modal content",upsellModalOptInLabel:"Subscribe",upsellModalOptOutLabel:"Purchase one time",upsellModalTitle:"Impulse Upsell",upsellModalConfirmLabel:"Ok",upsellModalCancelLabel:"Cancel",defaultFrequencyCopy:"(Recommended)"},_u=[["Offers example",{name:"empty",selector:"og-offer:not([location])"},{name:"built-in",selector:'og-offer[location="initial"]',config:{settings:{...et,offerType:"radio"},textCopy:{...tt}}},{name:"checkbox",selector:'og-offer[location="initial-checkbox"]',config:{settings:{...et,offerType:"toggle"},textCopy:{...tt}}},{name:"select",selector:'og-offer[location="initial-select"]',config:{settings:{...et,offerType:"select"},textCopy:{...tt}}},{name:"cart",selector:'og-offer[location="cart"]',defaultPreviewMode:"subscribed",config:{settings:{...et,offerType:"cart"},textCopy:{...tt}}},{name:"side-by-side",selector:'og-offer[location="side-by-side"]',config:{settings:{...et,offerType:"side-by-side"},textCopy:{...tt},styles:{primaryColor:"navy",defaultColor:"pink"}}},{name:"read-only",selector:'og-offer[location="read-only"]',defaultPreviewMode:"subscribed",config:{settings:{...et,offerType:"read-only"},textCopy:{...tt},styles:{primaryColor:"navy",defaultColor:"pink"}}},{name:"buttons",selector:'og-offer[location="buttons"]',config:{settings:{...et,offerType:"buttons"},textCopy:{...tt},styles:{primaryColor:"navy",defaultColor:"pink"}}},{name:"first-test",selector:'og-offer[location="first-test"]',config:{settings:{...et,offerType:"toggle"},textCopy:{...tt,offerOptOutLabel:"1st offerOptOutLabel"}}},{name:"second-test no tooltip",selector:'og-offer[location="second-test"]',config:{settings:{...et,offerType:"radio"},textCopy:{...tt,showTooltip:!1,offerOptOutLabel:"2st offerOptOutLabel"}}},{name:"Select mode",selector:'og-offer[location="select1"]',markup:`
563
+ `),"getStyles"),Wl={radio:{isAdvanced:!1,name:"radio"},cart:{isAdvanced:!1,name:"cart"},toggle:{isAdvanced:!1,name:"toggle"},select:{isAdvanced:!1,name:"select"},"side-by-side":{isAdvanced:!1,name:"side-by-side"},buttons:{isAdvanced:!0,name:"buttons"},"read-only":{isAdvanced:!0,name:"read-only",defaultPreviewMode:"subscribed"}};return Ta})();return oe})});var sr=Eu(Ga());window.og_settings={product_discounts:{UD729:{"3_1":["30.00","10%","$27.00"],"1_2":["30.00","20%","$24.00"]}}};var Ja=[{every:1,period:1},{every:1,period:2},{every:1,period:3},{every:2,period:3}],et={defaultFrequency:Ja[2],frequencies:[...Ja]},tt={showTooltip:!0,offerOptInLabel:"Subscribe to save",offerIncentiveText:"Save {{ogIncentive DiscountPercent}} when you subscribe",offerOptOutLabel:"Deliver one-time only",offerEveryLabel:"Deliver every",offerTooltipTrigger:"[?]",offerTooltipContent:"Seems this is a great subscription offering. Many fun details about this program exist.",optinButtonLabel:"\u2022",optoutButtonLabel:"\u2022",optinStatusOptedInLabel:"You're opted in!",optinStatusOptedOutLabel:"You're not opted in.",optinToggleLabel:"\u2022",upsellButtonLabel:"Add item to order on ",upsellButtonPrefix:"",upsellModalContent:"Some upsell modal content",upsellModalOptInLabel:"Subscribe",upsellModalOptOutLabel:"Purchase one time",upsellModalTitle:"Impulse Upsell",upsellModalConfirmLabel:"Ok",upsellModalCancelLabel:"Cancel",defaultFrequencyCopy:"(Recommended)"},_u=[["Offers example",{name:"empty",selector:"og-offer:not([location])",id:"1"},{name:"built-in",selector:'og-offer[location="initial"]',id:"2",config:{settings:{...et,offerType:"radio"},textCopy:{...tt}}},{name:"checkbox",selector:'og-offer[location="initial-checkbox"]',id:"3",config:{settings:{...et,offerType:"toggle"},textCopy:{...tt}}},{name:"select",selector:'og-offer[location="initial-select"]',id:"4",config:{settings:{...et,offerType:"select"},textCopy:{...tt}}},{name:"cart",selector:'og-offer[location="cart"]',id:"5",defaultPreviewMode:"subscribed",config:{settings:{...et,offerType:"cart"},textCopy:{...tt}}},{name:"side-by-side",selector:'og-offer[location="side-by-side"]',id:"6",config:{settings:{...et,offerType:"side-by-side"},textCopy:{...tt},styles:{primaryColor:"navy",defaultColor:"pink"}}},{name:"read-only",selector:'og-offer[location="read-only"]',id:"7",defaultPreviewMode:"subscribed",config:{settings:{...et,offerType:"read-only"},textCopy:{...tt},styles:{primaryColor:"navy",defaultColor:"pink"}}},{name:"buttons",selector:'og-offer[location="buttons"]',id:"8",config:{settings:{...et,offerType:"buttons"},textCopy:{...tt},styles:{primaryColor:"navy",defaultColor:"pink"}}},{name:"first-test",selector:'og-offer[location="first-test"]',id:"9",config:{settings:{...et,offerType:"toggle"},textCopy:{...tt,offerOptOutLabel:"1st offerOptOutLabel"}}},{name:"second-test no tooltip",selector:'og-offer[location="second-test"]',id:"10",config:{settings:{...et,offerType:"radio"},textCopy:{...tt,showTooltip:!1,offerOptOutLabel:"2st offerOptOutLabel"}}},{name:"Select mode",selector:'og-offer[location="select1"]',id:"11",markup:`
564
564
  <og-optin-select>
565
565
  <option value="optedOut">Buy one time</option>
566
566
  <option value="2w" selected>2 weeks (recomended)</option>
567
567
  <option value="1m">1 month </option>
568
- </og-optin-select>`},{name:"Custom markup",selector:'og-offer[location="custom1"]',markup:`
568
+ </og-optin-select>`},{name:"Custom markup",selector:'og-offer[location="custom1"]',id:"12",markup:`
569
569
  <og-when test="regularEligible">
570
570
  <p>
571
571
  <og-optout-button>Buy one time</og-optout-button>
@@ -612,7 +612,7 @@ Add item to order on
612
612
  </span>
613
613
  <span slot="cancel">cancel</span>
614
614
  </og-upsell-modal>
615
- </og-when>`},{name:"Upsell modal - radio",defaultPreviewMode:"upsell",selector:'og-offer[location="upsell-radio"]',markup:`
615
+ </og-when>`},{name:"Upsell modal - radio",defaultPreviewMode:"upsell",selector:'og-offer[location="upsell-radio"]',id:"13",markup:`
616
616
  <og-when test="upsellEligible">
617
617
  <og-upsell-button target="#upsell-radio">
618
618
  <a href="#">Add item to next order via radio</a>
@@ -630,7 +630,7 @@ Add item to order on
630
630
  </og-select-frequency>
631
631
  </p>
632
632
  </og-upsell-modal>
633
- </og-when>`},{name:"Upsell modal - select",defaultPreviewMode:"upsell",selector:'og-offer[location="upsell-select"]',markup:`
633
+ </og-when>`},{name:"Upsell modal - select",defaultPreviewMode:"upsell",selector:'og-offer[location="upsell-select"]',id:"14",markup:`
634
634
  <og-when test="upsellEligible">
635
635
  <og-upsell-button target="#upsell-select">
636
636
  <a href="#">Add item to next order via select</a>
@@ -638,7 +638,7 @@ Add item to order on
638
638
  <og-upsell-modal id="upsell-select">
639
639
  <og-optin-select></og-optin-select>
640
640
  </og-upsell-modal>
641
- </og-when>`},{name:"Upsell modal - toggle",defaultPreviewMode:"upsell",selector:'og-offer[location="upsell-toggle"]',markup:`
641
+ </og-when>`},{name:"Upsell modal - toggle",defaultPreviewMode:"upsell",selector:'og-offer[location="upsell-toggle"]',id:"15",markup:`
642
642
  <og-when test="upsellEligible">
643
643
  <og-upsell-button target="#upsell-toggle">
644
644
  <a href="#">Add item to next order via toggle</a>
@@ -651,7 +651,7 @@ Add item to order on
651
651
  <span slot="cancel">Nope</span>
652
652
  </og-upsell-modal>
653
653
  </og-when>
654
- `},{name:"Product-specific default frequencies",selector:'og-offer[location="psdf"]',markup:`
654
+ `},{name:"Product-specific default frequencies",selector:'og-offer[location="psdf"]',id:"16",markup:`
655
655
  <og-when test="regularEligible">
656
656
  <og-select-frequency default-text=" Most common!">
657
657
  <option value="1w">1 week</option>
@@ -659,14 +659,14 @@ Add item to order on
659
659
  <option value="3w">3 weeks</option>
660
660
  </og-select-frequency>
661
661
  </og-when>
662
- `}],["Individual components",{name:"og-optin-button",selector:"og-offer[location=og-optin-button]",markup:`
662
+ `}],["Individual components",{name:"og-optin-button",selector:"og-offer[location=og-optin-button]",id:"17",markup:`
663
663
  <og-optin-button>
664
664
  I want to subscribe to this product
665
665
  </og-optin-button>
666
- `},{name:"Frequency Status",selector:'og-offer[location="frequency"]',markup:`
666
+ `},{name:"Frequency Status",selector:'og-offer[location="frequency"]',id:"18",markup:`
667
667
  <og-frequency-status>
668
668
  <span slot="not-subscribed">you are not subscribed </span>
669
- </og-frequency-status>`},{name:"Tooltip",selector:'og-offer[location="tooltip-placement"]',markup:[["top-left","top","top-right"],["left","","right"],["bottom-left","bottom","bottom-right"]].map(oe=>oe.map(ie=>`<span class="tooltip-example">${ie?`<og-tooltip placement="${ie}" style="width:100%">
669
+ </og-frequency-status>`},{name:"Tooltip",selector:'og-offer[location="tooltip-placement"]',id:"19",markup:[["top-left","top","top-right"],["left","","right"],["bottom-left","bottom","bottom-right"]].map(oe=>oe.map(ie=>`<span class="tooltip-example">${ie?`<og-tooltip placement="${ie}" style="width:100%">
670
670
  <div slot="trigger">${ie}</div>
671
671
  <div slot="content">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
672
672
  </og-tooltip>`:" &nbsp; "}</span>`).join(`