@ordergroove/offers 2.45.6-alpha-PR-1241-2.6 → 2.46.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
@@ -3,6 +3,25 @@
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.46.0](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.45.6...@ordergroove/offers@2.46.0) (2025-09-16)
7
+
8
+
9
+ ### Features
10
+
11
+ * support manual activation of tooltip ([370a7ca](https://github.com/ordergroove/plush-toys/commit/370a7cae4b24ebc33219ca374ae22f8eaa51a5f2))
12
+
13
+
14
+
15
+
16
+
17
+ ## [2.45.6](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.45.5...@ordergroove/offers@2.45.6) (2025-09-16)
18
+
19
+ **Note:** Version bump only for package @ordergroove/offers
20
+
21
+
22
+
23
+
24
+
6
25
  ## [2.45.5](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.45.4...@ordergroove/offers@2.45.5) (2025-08-26)
7
26
 
8
27
 
@@ -1,10 +1,10 @@
1
1
  <pre id="esbuild-metadata">
2
- dist/examples.js ─────────────────────────────────────────── 279.7kb ─ 100.0%
3
- ├ ../offers-templates/dist/main.js ──────────────────────── 269.1kb ── 96.2%
2
+ dist/examples.js ─────────────────────────────────────────── 279.8kb ─ 100.0%
3
+ ├ ../offers-templates/dist/main.js ──────────────────────── 269.2kb ── 96.2%
4
4
  │ └ examples/index.js
5
5
  └ examples/index.js ───────────────────────────────────────── 9.7kb ─── 3.5%
6
6
 
7
- dist/offers.js ───────────────────────────────────────────── 153.4kb ─ 100.0%
7
+ dist/offers.js ───────────────────────────────────────────── 153.5kb ─ 100.0%
8
8
  ├ src/components/Offer.js ─────────────────────────────────── 9.5kb ─── 6.2%
9
9
  │ └ src/make-api.js
10
10
  │ └ src/index.js
@@ -52,11 +52,11 @@
52
52
  ├ src/core/selectors.ts ───────────────────────────────────── 2.9kb ─── 1.9%
53
53
  │ └ src/core/utils.ts
54
54
  │ └ src/index.js
55
+ ├ src/make-api.js ─────────────────────────────────────────── 2.8kb ─── 1.8%
56
+ │ └ src/index.js
55
57
  ├ src/components/OptinStatus.js ───────────────────────────── 2.8kb ─── 1.8%
56
58
  │ └ src/make-api.js
57
59
  │ └ src/index.js
58
- ├ src/make-api.js ─────────────────────────────────────────── 2.7kb ─── 1.8%
59
- │ └ src/index.js
60
60
  ├ src/core/api.js ─────────────────────────────────────────── 2.6kb ─── 1.7%
61
61
  │ └ src/core/reducer.ts
62
62
  │ └ src/index.js
package/dist/examples.js CHANGED
@@ -928,7 +928,7 @@ og-prepaid-toggle {
928
928
  </div>
929
929
 
930
930
  `+((e=s.invokePartial(u(o,"prepaidBox"),r,{name:"prepaidBox",data:a,indent:" ",helpers:t,partials:o,decorators:s.decorators}))!=null?e:"")+`</og-when>
931
- `},usePartial:!0,useData:!0})),re.default.registerPartial("prepaid-enabled-radio",re.default.template({1:function(s,r,t,o,a){var e,n=r??(s.nullContext||{}),i=s.lookupProperty||function(l,u){if(Object.prototype.hasOwnProperty.call(l,u))return l[u]};return" <og-tooltip "+((e=i(t,"if").call(n,(e=r!=null?i(r,"styles"):r)!=null?i(e,"tooltipPlacement"):e,{name:"if",hash:{},fn:s.program(2,a,0),inverse:s.noop,data:a,loc:{start:{line:13,column:24},end:{line:13,column:102}}}))!=null?e:"")+`>
931
+ `},usePartial:!0,useData:!0})),re.default.registerPartial("prepaid-enabled-radio",re.default.template({1:function(s,r,t,o,a){var e,n=r??(s.nullContext||{}),i=s.lookupProperty||function(l,u){if(Object.prototype.hasOwnProperty.call(l,u))return l[u]};return' <og-tooltip activation-type="manual" '+((e=i(t,"if").call(n,(e=r!=null?i(r,"styles"):r)!=null?i(e,"tooltipPlacement"):e,{name:"if",hash:{},fn:s.program(2,a,0),inverse:s.noop,data:a,loc:{start:{line:13,column:49},end:{line:13,column:127}}}))!=null?e:"")+`>
932
932
  <span slot="trigger">`+((e=s.invokePartial(i(o,"tooltipIcon"),r,{name:"tooltipIcon",data:a,helpers:t,partials:o,decorators:s.decorators}))!=null?e:"")+`</span>
933
933
  <span slot="content">`+s.escapeExpression((i(t,"withIncentives")||r&&i(r,"withIncentives")||s.hooks.helperMissing).call(n,(e=r!=null?i(r,"textCopy"):r)!=null?i(e,"offerTooltipContent"):e,{name:"withIncentives",hash:{},data:a,loc:{start:{line:15,column:37},end:{line:15,column:84}}}))+`</span>
934
934
  </og-tooltip>
@@ -953,7 +953,7 @@ og-prepaid-toggle {
953
953
  </div>
954
954
 
955
955
  `+((e=s.invokePartial(i(o,"prepaidBox"),r,{name:"prepaidBox",data:a,indent:" ",helpers:t,partials:o,decorators:s.decorators}))!=null?e:"")+`</og-when>
956
- `+((e=s.invokePartial(i(o,"iuTemplate"),r,{name:"iuTemplate",data:a,helpers:t,partials:o,decorators:s.decorators}))!=null?e:"")},usePartial:!0,useData:!0})),re.default.registerPartial("prepaid-option",re.default.template({1:function(s,r,t,o,a){var e,n=r??(s.nullContext||{}),i=s.lookupProperty||function(l,u){if(Object.prototype.hasOwnProperty.call(l,u))return l[u]};return" <og-tooltip "+((e=i(t,"if").call(n,(e=r!=null?i(r,"styles"):r)!=null?i(e,"tooltipPlacement"):e,{name:"if",hash:{},fn:s.program(2,a,0),inverse:s.noop,data:a,loc:{start:{line:15,column:28},end:{line:15,column:106}}}))!=null?e:"")+`>
956
+ `+((e=s.invokePartial(i(o,"iuTemplate"),r,{name:"iuTemplate",data:a,helpers:t,partials:o,decorators:s.decorators}))!=null?e:"")},usePartial:!0,useData:!0})),re.default.registerPartial("prepaid-option",re.default.template({1:function(s,r,t,o,a){var e,n=r??(s.nullContext||{}),i=s.lookupProperty||function(l,u){if(Object.prototype.hasOwnProperty.call(l,u))return l[u]};return' <og-tooltip activation-type="manual" '+((e=i(t,"if").call(n,(e=r!=null?i(r,"styles"):r)!=null?i(e,"tooltipPlacement"):e,{name:"if",hash:{},fn:s.program(2,a,0),inverse:s.noop,data:a,loc:{start:{line:15,column:53},end:{line:15,column:131}}}))!=null?e:"")+`>
957
957
  <span slot="trigger">`+((e=s.invokePartial(i(o,"tooltipIcon"),r,{name:"tooltipIcon",data:a,helpers:t,partials:o,decorators:s.decorators}))!=null?e:"")+`</span>
958
958
  <span slot="content">`+s.escapeExpression((i(t,"withIncentives")||r&&i(r,"withIncentives")||s.hooks.helperMissing).call(n,(e=r!=null?i(r,"textCopy"):r)!=null?i(e,"offerTooltipContent"):e,{name:"withIncentives",hash:{},data:a,loc:{start:{line:17,column:41},end:{line:17,column:88}}}))+`</span>
959
959
  </og-tooltip>
@@ -1019,7 +1019,7 @@ og-prepaid-toggle {
1019
1019
  </og-when>
1020
1020
  </div>
1021
1021
  </og-when>
1022
- `},useData:!0})),re.default.registerPartial("radio",re.default.template({1:function(s,r,t,o,a){var e,n=r??(s.nullContext||{}),i=s.lookupProperty||function(l,u){if(Object.prototype.hasOwnProperty.call(l,u))return l[u]};return" <og-tooltip "+((e=i(t,"if").call(n,(e=r!=null?i(r,"styles"):r)!=null?i(e,"tooltipPlacement"):e,{name:"if",hash:{},fn:s.program(2,a,0),inverse:s.noop,data:a,loc:{start:{line:13,column:24},end:{line:13,column:102}}}))!=null?e:"")+`>
1022
+ `},useData:!0})),re.default.registerPartial("radio",re.default.template({1:function(s,r,t,o,a){var e,n=r??(s.nullContext||{}),i=s.lookupProperty||function(l,u){if(Object.prototype.hasOwnProperty.call(l,u))return l[u]};return' <og-tooltip activation-type="manual" '+((e=i(t,"if").call(n,(e=r!=null?i(r,"styles"):r)!=null?i(e,"tooltipPlacement"):e,{name:"if",hash:{},fn:s.program(2,a,0),inverse:s.noop,data:a,loc:{start:{line:13,column:49},end:{line:13,column:127}}}))!=null?e:"")+`>
1023
1023
  <span slot="trigger">`+((e=s.invokePartial(i(o,"tooltipIcon"),r,{name:"tooltipIcon",data:a,helpers:t,partials:o,decorators:s.decorators}))!=null?e:"")+`</span>
1024
1024
  <span slot="content">`+s.escapeExpression((i(t,"withIncentives")||r&&i(r,"withIncentives")||s.hooks.helperMissing).call(n,(e=r!=null?i(r,"textCopy"):r)!=null?i(e,"offerTooltipContent"):e,{name:"withIncentives",hash:{},data:a,loc:{start:{line:15,column:37},end:{line:15,column:84}}}))+`</span>
1025
1025
  </og-tooltip>
@@ -1082,7 +1082,7 @@ og-prepaid-toggle {
1082
1082
  `+l((u(t,"withIncentives")||r&&u(r,"withIncentives")||i).call(n,(e=r!=null?u(r,"textCopy"):r)!=null?u(e,"offerEveryLabel"):e,{name:"withIncentives",hash:{},data:a,loc:{start:{line:9,column:4},end:{line:9,column:47}}}))+`
1083
1083
  `+((e=s.invokePartial(u(o,"selectFrequency"),r,{name:"selectFrequency",data:a,indent:" ",helpers:t,partials:o,decorators:s.decorators}))!=null?e:"")+`</p>
1084
1084
  </og-when>
1085
- `+((e=s.invokePartial(u(o,"iuTemplate"),r,{name:"iuTemplate",data:a,helpers:t,partials:o,decorators:s.decorators}))!=null?e:"")},usePartial:!0,useData:!0})),re.default.registerPartial("tooltip",re.default.template({1:function(s,r,t,o,a){var e,n=r??(s.nullContext||{}),i=s.hooks.helperMissing,l=s.escapeExpression,u=s.lookupProperty||function(p,d){if(Object.prototype.hasOwnProperty.call(p,d))return p[d]};return"<og-tooltip "+((e=u(t,"if").call(n,(e=r!=null?u(r,"styles"):r)!=null?u(e,"tooltipPlacement"):e,{name:"if",hash:{},fn:s.program(2,a,0),inverse:s.noop,data:a,loc:{start:{line:2,column:12},end:{line:2,column:90}}}))!=null?e:"")+`>
1085
+ `+((e=s.invokePartial(u(o,"iuTemplate"),r,{name:"iuTemplate",data:a,helpers:t,partials:o,decorators:s.decorators}))!=null?e:"")},usePartial:!0,useData:!0})),re.default.registerPartial("tooltip",re.default.template({1:function(s,r,t,o,a){var e,n=r??(s.nullContext||{}),i=s.hooks.helperMissing,l=s.escapeExpression,u=s.lookupProperty||function(p,d){if(Object.prototype.hasOwnProperty.call(p,d))return p[d]};return'<og-tooltip activation-type="manual" '+((e=u(t,"if").call(n,(e=r!=null?u(r,"styles"):r)!=null?u(e,"tooltipPlacement"):e,{name:"if",hash:{},fn:s.program(2,a,0),inverse:s.noop,data:a,loc:{start:{line:2,column:37},end:{line:2,column:115}}}))!=null?e:"")+`>
1086
1086
  <span slot="trigger">`+l((u(t,"withIncentives")||r&&u(r,"withIncentives")||i).call(n,(e=r!=null?u(r,"textCopy"):r)!=null?u(e,"offerTooltipTrigger"):e,{name:"withIncentives",hash:{},data:a,loc:{start:{line:3,column:25},end:{line:3,column:72}}}))+`</span>
1087
1087
  <span slot="content">`+l((u(t,"withIncentives")||r&&u(r,"withIncentives")||i).call(n,(e=r!=null?u(r,"textCopy"):r)!=null?u(e,"offerTooltipContent"):e,{name:"withIncentives",hash:{},data:a,loc:{start:{line:4,column:25},end:{line:4,column:72}}}))+`</span>
1088
1088
  </og-tooltip>
@@ -1092,7 +1092,7 @@ og-prepaid-toggle {
1092
1092
  style=" fill: #000000;"
1093
1093
  >
1094
1094
  <path d="M15,3C8.373,3,3,8.373,3,15c0,6.627,5.373,12,12,12s12-5.373,12-12C27,8.373,21.627,3,15,3z M16,21h-2v-7h2V21z M15,11.5 c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5s1.5,0.672,1.5,1.5S15.828,11.5,15,11.5z"></path>
1095
- </svg>`},useData:!0})),re.default.registerPartial("tooltipSvg",re.default.template({1:function(s,r,t,o,a){var e,n=r??(s.nullContext||{}),i=s.lookupProperty||function(l,u){if(Object.prototype.hasOwnProperty.call(l,u))return l[u]};return"<og-tooltip "+((e=i(t,"if").call(n,(e=r!=null?i(r,"styles"):r)!=null?i(e,"tooltipPlacement"):e,{name:"if",hash:{},fn:s.program(2,a,0),inverse:s.noop,data:a,loc:{start:{line:2,column:12},end:{line:2,column:90}}}))!=null?e:"")+`>
1095
+ </svg>`},useData:!0})),re.default.registerPartial("tooltipSvg",re.default.template({1:function(s,r,t,o,a){var e,n=r??(s.nullContext||{}),i=s.lookupProperty||function(l,u){if(Object.prototype.hasOwnProperty.call(l,u))return l[u]};return'<og-tooltip activation-type="manual" '+((e=i(t,"if").call(n,(e=r!=null?i(r,"styles"):r)!=null?i(e,"tooltipPlacement"):e,{name:"if",hash:{},fn:s.program(2,a,0),inverse:s.noop,data:a,loc:{start:{line:2,column:37},end:{line:2,column:115}}}))!=null?e:"")+`>
1096
1096
  <span slot="trigger">
1097
1097
  `+((e=s.invokePartial(i(o,"tooltipIcon"),r,{name:"tooltipIcon",data:a,indent:" ",helpers:t,partials:o,decorators:s.decorators}))!=null?e:"")+` </span>
1098
1098
  <span slot="content">`+s.escapeExpression((i(t,"withIncentives")||r&&i(r,"withIncentives")||s.hooks.helperMissing).call(n,(e=r!=null?i(r,"textCopy"):r)!=null?i(e,"offerTooltipContent"):e,{name:"withIncentives",hash:{},data:a,loc:{start:{line:6,column:25},end:{line:6,column:72}}}))+`</span>