@gem-sdk/components 4.0.0-staging.1181 → 4.0.0-staging.1183
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/dist/cjs/third-party/components/SkioSubscriptionsYcS20.liquid.js +1 -8
- package/dist/cjs/third-party/settings/SkioSubscriptionsYcS20/index.js +1 -1
- package/dist/esm/third-party/components/SkioSubscriptionsYcS20.liquid.js +1 -8
- package/dist/esm/third-party/settings/SkioSubscriptionsYcS20/index.js +2 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,8 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
2
|
-
<div
|
|
3
|
-
class="${s?.cssClass}"
|
|
4
|
-
style="${{...core.makeStyleResponsive("ta",t)}}"
|
|
5
|
-
>
|
|
6
|
-
<input type="hidden" name="selling_plan" value="${r}">
|
|
7
|
-
</div>
|
|
8
|
-
`};exports.default=SkioSubscriptionsYcS20;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var helpers=require("../common/helpers.js");const SkioSubscriptionsYcS20=({setting:e,advanced:s})=>{let{align:r,appBlockId:o}=e??{};return helpers.getLiquidForAppBlock(o,r,s?.cssClass)};exports.default=SkioSubscriptionsYcS20;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var SkioSubscriptionsYcS20=require("../../configs/SkioSubscriptionsYcS20.js"),uiV1=require("./uiV1.js"),uiV2=require("./uiV2.js"),helpers=require("../../common/helpers.js");const config={tag:SkioSubscriptionsYcS20.default.tag,label:SkioSubscriptionsYcS20.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/8dd0dfb789ffd9e447e7eb98210ccde7/icon/CNW2qO36iIQDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:SkioSubscriptionsYcS20.default.id,name:{en:SkioSubscriptionsYcS20.default.label},hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/8dd0dfb789ffd9e447e7eb98210ccde7/icon/CNW2qO36iIQDEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Skio Subscriptions (YC S20)</span>
|
|
4
|
-
</div>`},components:[{tag:SkioSubscriptionsYcS20.default.tag}]}],settings:[{id:"setting",controls:[{id:"sellingPlanId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"skio"}),appName:SkioSubscriptionsYcS20.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"",appName:SkioSubscriptionsYcS20.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:uiV1.default,uiV2:uiV2.default};exports.default=config;
|
|
4
|
+
</div>`},components:[{tag:SkioSubscriptionsYcS20.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"App Block",value:"app-block"}],default:"app-block"},{id:"sellingPlanId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"skio"}),appName:SkioSubscriptionsYcS20.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"",appName:SkioSubscriptionsYcS20.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:uiV1.default,uiV2:uiV2.default};exports.default=config;
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
import{
|
|
2
|
-
<div
|
|
3
|
-
class="${t?.cssClass}"
|
|
4
|
-
style="${{...e("ta",l)}}"
|
|
5
|
-
>
|
|
6
|
-
<input type="hidden" name="selling_plan" value="${a}">
|
|
7
|
-
</div>
|
|
8
|
-
`};export{SkioSubscriptionsYcS20 as default};
|
|
1
|
+
import{getLiquidForAppBlock as s}from"../common/helpers.js";let SkioSubscriptionsYcS20=({setting:o,advanced:r})=>{let{align:t,appBlockId:e}=o??{};return s(e,t,r?.cssClass)};export{SkioSubscriptionsYcS20 as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from"../../configs/SkioSubscriptionsYcS20.js";import
|
|
1
|
+
import e from"../../configs/SkioSubscriptionsYcS20.js";import t from"./uiV1.js";import i from"./uiV2.js";import{get3rdPartyInstallLink as l}from"../../common/helpers.js";let config={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/8dd0dfb789ffd9e447e7eb98210ccde7/icon/CNW2qO36iIQDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.id,name:{en:e.label},hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/8dd0dfb789ffd9e447e7eb98210ccde7/icon/CNW2qO36iIQDEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Skio Subscriptions (YC S20)</span>
|
|
4
|
-
</div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"sellingPlanId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l({handle:"skio"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"",appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:
|
|
4
|
+
</div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"App Block",value:"app-block"}],default:"app-block"},{id:"sellingPlanId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l({handle:"skio"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"",appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:t,uiV2:i};export{config as default};
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "4.0.0-staging.
|
|
3
|
+
"version": "4.0.0-staging.1183",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"scan-all-text": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/scan-all-text && node ./scripts/scan-all-text"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@gem-sdk/core": "4.0.0-staging.
|
|
28
|
+
"@gem-sdk/core": "4.0.0-staging.1182",
|
|
29
29
|
"@gem-sdk/styles": "3.1.0-staging.1137",
|
|
30
30
|
"@gem-sdk/system": "3.1.0-staging.1137",
|
|
31
31
|
"tsup": "^8.5.0",
|