@gem-sdk/components 2.0.0-staging.803 → 2.0.0-staging.804
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/product/components/product-variants/common/dropdown/styles.js +1 -1
- package/dist/cjs/product/settings/product-image-v2/configs/ui/FeatureDots.js +1 -1
- package/dist/esm/product/components/product-variants/common/dropdown/styles.js +1 -1
- package/dist/esm/product/settings/product-image-v2/configs/ui/FeatureDots.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var core=require("@gem-sdk/core"),helpers=require("../../../../../helpers.js");const getSelectStyle=({width:e,height:
|
|
1
|
+
"use strict";var core=require("@gem-sdk/core"),helpers=require("../../../../../helpers.js");const getSelectStyle=({width:e,height:r,optionTypo:o,optionTypography:t,optionBgColor:l,optionTextColor:c,optionRounded:a,optionHasShadow:s,optionShadow:i,optionBorder:n,optionTransform:d})=>{let S=core.composeTypographyStyle(o,t),h=core.makeStyle({bg:core.getSingleColorVariable(l?.active),bs:n?.active?.border,bw:n?.active?.width,bc:n?.active?.color}),p=["normal","hover"].reduce((e,r)=>({...e,...core.getStyleShadow({value:i?.[r],state:r,styleAppliedFor:"box-shadow",isEnableShadow:s?.[r]})}),{});return helpers.filterTruthyObject({...core.makeStyleResponsive("w",core.makeWidth(e)),...core.makeStyle({h:r}),...p,...h,...core.makeStyle({tt:d}),...S,...core.getGlobalColorStateStyle("c",c),...core.getGlobalColorStateStyle("bg",l),...core.handleConvertBorderStyle(n),...core.handleConvertBorderWidth(n),...core.handleConvertBorderColor(n),...core.composeRadius(a),appearance:"none","background-image":"url(https://cdn.shopify.com/s/files/1/1827/4239/t/1/assets/ico-select.svg?v=155563818344741998551488860031)","background-repeat":"no-repeat","background-position":"right 16px center"})};exports.getSelectStyle=getSelectStyle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const FeatureDots={type:"combo",getValueFromSettingID:"ftDotStyle",defaultValueWhenClear:"none",compoDefaultValue:"inside",label:{en:"Dots"},controls:[{label:{en:"Layout"},setting:{id:"ftDotStyle"}},{label:{en:"Active dot color"},setting:{id:"ftDotActiveColor"}},{label:{en:"Inactive dot color"},setting:{id:"ftDotColor"}},{label:{en:"Dots size"},setting:{id:"ftDotSize"}},{label:{en:"Gap to Image"},setting:{id:"ftDotGapToCarousel"}}]};exports.FeatureDots=FeatureDots;
|
|
1
|
+
"use strict";const FeatureDots={type:"combo",getValueFromSettingID:"ftDotStyle",defaultValueWhenClear:"none",iconName:"gp-dot",compoDefaultValue:"inside",label:{en:"Dots"},controls:[{label:{en:"Layout"},setting:{id:"ftDotStyle"}},{label:{en:"Active dot color"},setting:{id:"ftDotActiveColor"}},{label:{en:"Inactive dot color"},setting:{id:"ftDotColor"}},{label:{en:"Dots size"},setting:{id:"ftDotSize"}},{label:{en:"Gap to Image"},setting:{id:"ftDotGapToCarousel"}}]};exports.FeatureDots=FeatureDots;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{composeTypographyStyle as e,makeStyle as t,getSingleColorVariable as o,
|
|
1
|
+
import{composeTypographyStyle as e,makeStyle as t,getSingleColorVariable as o,getStyleShadow as r,makeStyleResponsive as c,makeWidth as a,getGlobalColorStateStyle as s,handleConvertBorderStyle as i,handleConvertBorderWidth as l,handleConvertBorderColor as p,composeRadius as n}from"@gem-sdk/core";import{filterTruthyObject as b}from"../../../../../helpers.js";let getSelectStyle=({width:d,height:g,optionTypo:h,optionTypography:m,optionBgColor:v,optionTextColor:u,optionRounded:w,optionHasShadow:S,optionShadow:f,optionBorder:k,optionTransform:y})=>{let x=e(h,m),j=t({bg:o(v?.active),bs:k?.active?.border,bw:k?.active?.width,bc:k?.active?.color}),A=["normal","hover"].reduce((e,t)=>({...e,...r({value:f?.[t],state:t,styleAppliedFor:"box-shadow",isEnableShadow:S?.[t]})}),{});return b({...c("w",a(d)),...t({h:g}),...A,...j,...t({tt:y}),...x,...s("c",u),...s("bg",v),...i(k),...l(k),...p(k),...n(w),appearance:"none","background-image":"url(https://cdn.shopify.com/s/files/1/1827/4239/t/1/assets/ico-select.svg?v=155563818344741998551488860031)","background-repeat":"no-repeat","background-position":"right 16px center"})};export{getSelectStyle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let FeatureDots={type:"combo",getValueFromSettingID:"ftDotStyle",defaultValueWhenClear:"none",compoDefaultValue:"inside",label:{en:"Dots"},controls:[{label:{en:"Layout"},setting:{id:"ftDotStyle"}},{label:{en:"Active dot color"},setting:{id:"ftDotActiveColor"}},{label:{en:"Inactive dot color"},setting:{id:"ftDotColor"}},{label:{en:"Dots size"},setting:{id:"ftDotSize"}},{label:{en:"Gap to Image"},setting:{id:"ftDotGapToCarousel"}}]};export{FeatureDots};
|
|
1
|
+
let FeatureDots={type:"combo",getValueFromSettingID:"ftDotStyle",defaultValueWhenClear:"none",iconName:"gp-dot",compoDefaultValue:"inside",label:{en:"Dots"},controls:[{label:{en:"Layout"},setting:{id:"ftDotStyle"}},{label:{en:"Active dot color"},setting:{id:"ftDotActiveColor"}},{label:{en:"Inactive dot color"},setting:{id:"ftDotColor"}},{label:{en:"Dots size"},setting:{id:"ftDotSize"}},{label:{en:"Gap to Image"},setting:{id:"ftDotGapToCarousel"}}]};export{FeatureDots};
|