@gem-sdk/components 2.0.0-staging.782 → 2.0.0-staging.783
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/accordion/settings/configs/settings.js +1 -1
- package/dist/cjs/product/components/dynamic-checkout/common/styles.js +3 -2
- package/dist/esm/accordion/settings/configs/settings.js +1 -1
- package/dist/esm/product/components/dynamic-checkout/common/styles.js +3 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var childItems=require("./child-items.js");const AccordionSettings=[{id:"setting",controls:[{id:"childItem",label:"Item management",type:"child-item",default:["Accordion 1","Accordion 2","Accordion 3"],childTemplate:childItems.itemControlTemplate,expandItem:!1},{id:"translate",type:"input",default:"childItem"},{id:"expandItem",type:"toggle",label:"Expand multiple items",default:!0},{id:"activeKey",
|
|
1
|
+
"use strict";var childItems=require("./child-items.js");const AccordionSettings=[{id:"setting",controls:[{id:"childItem",label:"Item management",type:"child-item",default:["Accordion 1","Accordion 2","Accordion 3"],childTemplate:childItems.itemControlTemplate,expandItem:!1},{id:"translate",type:"input",default:"childItem"},{id:"expandItem",type:"toggle",label:"Expand multiple items",default:!0},{id:"activeKey",label:"Expand item",default:"1",type:"dropdown:input",inputType:"text",displayOptions:[{label:"Accordion 1, 2",value:"1,2"},{label:"All accordions",value:"All"}]},{id:"expandedMode",label:"Expand mode",type:"accordion:segment",default:"multiple",options:[{label:"Single",value:"single"},{label:"Multiple",value:"multiple"}]},{id:"titleTypo",type:"typography-combo",default:{type:"paragraph-1"},ignoreReRender:!0,hiddenSetting:{textAlign:!0}},{id:"general",type:"group",label:"General",controls:[{id:"iconSvg",label:"Accordion icon",type:"option:value",disableToggle:!1,options:[{label:"N/A",value:""},{label:`
|
|
2
2
|
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path d="M9 1.5C9 1.22386 8.77614 1 8.5 1C8.22386 1 8 1.22386 8 1.5V7.5H2C1.72386 7.5 1.5 7.72386 1.5 8C1.5 8.27614 1.72386 8.5 2 8.5H8V14.5C8 14.7761 8.22386 15 8.5 15C8.77614 15 9 14.7761 9 14.5V8.5H15C15.2761 8.5 15.5 8.27614 15.5 8C15.5 7.72386 15.2761 7.5 15 7.5H9V1.5Z" fill="currentColor"/>
|
|
4
4
|
</svg>`,value:"plus"},{label:`
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
|
|
32
32
|
.wrap__button--unbranded__${o} .shopify-payment-button .shopify-payment-button__button--unbranded:hover {
|
|
33
33
|
${core.composeShadowCss({boxShadowValue:e?.boxShadowBtn?.hover,hasBoxShadow:e?.boxShadowBtn?.hover?.type!=="none",important:!0})||""}
|
|
34
|
-
${core.composeTextHoverColorCss(e?.textColorHover,!0)}
|
|
34
|
+
${core.composeTextHoverColorCss(e?.textColorHover,!0)};
|
|
35
|
+
${core.composeCornerCss(e?.roundedBtnV2?.hover,!0)}
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
.wrap__button--unbranded__${o} .shopify-payment-button .shopify-payment-button__button--unbranded::before {
|
|
@@ -48,8 +49,8 @@
|
|
|
48
49
|
${e?.backgroundImage?.hover||e?.backgroundColorV2?.hover?"background-image : unset;":""}
|
|
49
50
|
${e?.borderBtnV2?.hover?.borderType!=="none"?core.composeBorderCss(e?.borderBtnV2?.hover):""}
|
|
50
51
|
${e?.roundedBtnV2?.hover?.radiusType!=="none"?core.composeCornerCss(e?.roundedBtnV2?.hover):""}
|
|
51
|
-
${e?.backgroundImage?.hover?core.composeBackgroundImageCss(e?.backgroundImage,{device:t,state:"hover"}):""}
|
|
52
52
|
${e?.backgroundColorV2?.hover?composeBackgroundStyle(e?.backgroundColorV2?.hover):""}
|
|
53
|
+
${e?.backgroundImage?.hover?core.composeBackgroundImageCss(e?.backgroundImage,{device:t,state:"hover"}):""}
|
|
53
54
|
${core.composeShadowCss({boxShadowValue:e?.boxShadowBtn?.hover,hasBoxShadow:e?.boxShadowBtn?.hover?.type!=="none",important:!0})||""}
|
|
54
55
|
}
|
|
55
56
|
`,getButtonStyles=({styles:o,uid:t})=>{let e={width:core.getWidthHeightGlobalSize("width",o?.globalSize),height:core.getWidthHeightGlobalSize("height",o?.globalSize),padding:core.getPaddingGlobalSize(o?.globalSize)},n=`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{itemControlTemplate as e}from"./child-items.js";let AccordionSettings=[{id:"setting",controls:[{id:"childItem",label:"Item management",type:"child-item",default:["Accordion 1","Accordion 2","Accordion 3"],childTemplate:e,expandItem:!1},{id:"translate",type:"input",default:"childItem"},{id:"expandItem",type:"toggle",label:"Expand multiple items",default:!0},{id:"activeKey",
|
|
1
|
+
import{itemControlTemplate as e}from"./child-items.js";let AccordionSettings=[{id:"setting",controls:[{id:"childItem",label:"Item management",type:"child-item",default:["Accordion 1","Accordion 2","Accordion 3"],childTemplate:e,expandItem:!1},{id:"translate",type:"input",default:"childItem"},{id:"expandItem",type:"toggle",label:"Expand multiple items",default:!0},{id:"activeKey",label:"Expand item",default:"1",type:"dropdown:input",inputType:"text",displayOptions:[{label:"Accordion 1, 2",value:"1,2"},{label:"All accordions",value:"All"}]},{id:"expandedMode",label:"Expand mode",type:"accordion:segment",default:"multiple",options:[{label:"Single",value:"single"},{label:"Multiple",value:"multiple"}]},{id:"titleTypo",type:"typography-combo",default:{type:"paragraph-1"},ignoreReRender:!0,hiddenSetting:{textAlign:!0}},{id:"general",type:"group",label:"General",controls:[{id:"iconSvg",label:"Accordion icon",type:"option:value",disableToggle:!1,options:[{label:"N/A",value:""},{label:`
|
|
2
2
|
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path d="M9 1.5C9 1.22386 8.77614 1 8.5 1C8.22386 1 8 1.22386 8 1.5V7.5H2C1.72386 7.5 1.5 7.72386 1.5 8C1.5 8.27614 1.72386 8.5 2 8.5H8V14.5C8 14.7761 8.22386 15 8.5 15C8.77614 15 9 14.7761 9 14.5V8.5H15C15.2761 8.5 15.5 8.27614 15.5 8C15.5 7.72386 15.2761 7.5 15 7.5H9V1.5Z" fill="currentColor"/>
|
|
4
4
|
</svg>`,value:"plus"},{label:`
|
|
@@ -31,7 +31,8 @@ import{getWidthHeightGlobalSize as t,getPaddingGlobalSize as o,composeShadowCss
|
|
|
31
31
|
|
|
32
32
|
.wrap__button--unbranded__${t} .shopify-payment-button .shopify-payment-button__button--unbranded:hover {
|
|
33
33
|
${n({boxShadowValue:p?.boxShadowBtn?.hover,hasBoxShadow:p?.boxShadowBtn?.hover?.type!=="none",important:!0})||""}
|
|
34
|
-
${r(p?.textColorHover,!0)}
|
|
34
|
+
${r(p?.textColorHover,!0)};
|
|
35
|
+
${e(p?.roundedBtnV2?.hover,!0)}
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
.wrap__button--unbranded__${t} .shopify-payment-button .shopify-payment-button__button--unbranded::before {
|
|
@@ -48,8 +49,8 @@ import{getWidthHeightGlobalSize as t,getPaddingGlobalSize as o,composeShadowCss
|
|
|
48
49
|
${p?.backgroundImage?.hover||p?.backgroundColorV2?.hover?"background-image : unset;":""}
|
|
49
50
|
${p?.borderBtnV2?.hover?.borderType!=="none"?d(p?.borderBtnV2?.hover):""}
|
|
50
51
|
${p?.roundedBtnV2?.hover?.radiusType!=="none"?e(p?.roundedBtnV2?.hover):""}
|
|
51
|
-
${p?.backgroundImage?.hover?i(p?.backgroundImage,{device:o,state:"hover"}):""}
|
|
52
52
|
${p?.backgroundColorV2?.hover?composeBackgroundStyle(p?.backgroundColorV2?.hover):""}
|
|
53
|
+
${p?.backgroundImage?.hover?i(p?.backgroundImage,{device:o,state:"hover"}):""}
|
|
53
54
|
${n({boxShadowValue:p?.boxShadowBtn?.hover,hasBoxShadow:p?.boxShadowBtn?.hover?.type!=="none",important:!0})||""}
|
|
54
55
|
}
|
|
55
56
|
`,getButtonStyles=({styles:n,uid:e})=>{let a={width:t("width",n?.globalSize),height:t("height",n?.globalSize),padding:o(n?.globalSize)},r=`
|