@gem-sdk/core 1.14.0-dev.635 → 1.14.0-dev.640

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.
@@ -1 +1 @@
1
- "use strict";var getResonsiveValue=require("./get-resonsive-value.js");const getCarouselContainerHeight=(e,t,s)=>{let o=(e,t,s)=>"outside"===e?`calc(100% - ${t??"0"}px - ${s??"0"}px)`:"100%";return{desktop:o(getResonsiveValue.getResponsiveValueByScreen(e,"desktop"),getResonsiveValue.getResponsiveValueByScreen(t,"desktop"),getResonsiveValue.getResponsiveValueByScreen(s,"desktop")),tablet:o(getResonsiveValue.getResponsiveValueByScreen(e,"tablet"),getResonsiveValue.getResponsiveValueByScreen(t,"tablet"),getResonsiveValue.getResponsiveValueByScreen(s,"tablet")),mobile:o(getResonsiveValue.getResponsiveValueByScreen(e,"mobile"),getResonsiveValue.getResponsiveValueByScreen(t,"mobile"),getResonsiveValue.getResponsiveValueByScreen(s,"mobile"))}},makeDotGapToCarouselStyle=(e,t)=>{let s=e=>"outside"===e?"mt":"bottom",o={desktop:`${getResonsiveValue.getResponsiveValueByScreen(t,"desktop",0)}px`,tablet:`${getResonsiveValue.getResponsiveValueByScreen(t,"tablet",0)}px`,mobile:`${getResonsiveValue.getResponsiveValueByScreen(t,"mobile",0)}px`};return{[`--${s(e?.desktop)}`]:o.desktop,[`--${s(e?.tablet)}-tablet`]:o.tablet,[`--${s(e?.mobile)}-mobile`]:o.mobile}};exports.getCarouselContainerHeight=getCarouselContainerHeight,exports.makeDotGapToCarouselStyle=makeDotGapToCarouselStyle;
1
+ "use strict";var getResonsiveValue=require("./get-resonsive-value.js");const getCarouselContainerHeight=(e,t,s)=>{let o=(e,t,s)=>"outside"===e?`calc(100% - ${t??"0"}px - ${s&&"Auto"!==s?s:"0"}px)`:"100%";return{desktop:o(getResonsiveValue.getResponsiveValueByScreen(e,"desktop"),getResonsiveValue.getResponsiveValueByScreen(t,"desktop"),getResonsiveValue.getResponsiveValueByScreen(s,"desktop")),tablet:o(getResonsiveValue.getResponsiveValueByScreen(e,"tablet"),getResonsiveValue.getResponsiveValueByScreen(t,"tablet"),getResonsiveValue.getResponsiveValueByScreen(s,"tablet")),mobile:o(getResonsiveValue.getResponsiveValueByScreen(e,"mobile"),getResonsiveValue.getResponsiveValueByScreen(t,"mobile"),getResonsiveValue.getResponsiveValueByScreen(s,"mobile"))}},makeDotGapToCarouselStyle=(e,t)=>{let s=e=>"outside"===e?"mt":"bottom",o={desktop:`${getResonsiveValue.getResponsiveValueByScreen(t,"desktop",0)}px`,tablet:`${getResonsiveValue.getResponsiveValueByScreen(t,"tablet",0)}px`,mobile:`${getResonsiveValue.getResponsiveValueByScreen(t,"mobile",0)}px`};return{[`--${s(e?.desktop)}`]:o.desktop,[`--${s(e?.tablet)}-tablet`]:o.tablet,[`--${s(e?.mobile)}-mobile`]:o.mobile}};exports.getCarouselContainerHeight=getCarouselContainerHeight,exports.makeDotGapToCarouselStyle=makeDotGapToCarouselStyle;
@@ -1 +1 @@
1
- import{getResponsiveValueByScreen as e}from"./get-resonsive-value.js";let getCarouselContainerHeight=(t,o,l)=>{let a=(e,t,o)=>"outside"===e?`calc(100% - ${t??"0"}px - ${o??"0"}px)`:"100%";return{desktop:a(e(t,"desktop"),e(o,"desktop"),e(l,"desktop")),tablet:a(e(t,"tablet"),e(o,"tablet"),e(l,"tablet")),mobile:a(e(t,"mobile"),e(o,"mobile"),e(l,"mobile"))}},makeDotGapToCarouselStyle=(t,o)=>{let l=e=>"outside"===e?"mt":"bottom",a={desktop:`${e(o,"desktop",0)}px`,tablet:`${e(o,"tablet",0)}px`,mobile:`${e(o,"mobile",0)}px`};return{[`--${l(t?.desktop)}`]:a.desktop,[`--${l(t?.tablet)}-tablet`]:a.tablet,[`--${l(t?.mobile)}-mobile`]:a.mobile}};export{getCarouselContainerHeight,makeDotGapToCarouselStyle};
1
+ import{getResponsiveValueByScreen as e}from"./get-resonsive-value.js";let getCarouselContainerHeight=(t,o,l)=>{let a=(e,t,o)=>"outside"===e?`calc(100% - ${t??"0"}px - ${o&&"Auto"!==o?o:"0"}px)`:"100%";return{desktop:a(e(t,"desktop"),e(o,"desktop"),e(l,"desktop")),tablet:a(e(t,"tablet"),e(o,"tablet"),e(l,"tablet")),mobile:a(e(t,"mobile"),e(o,"mobile"),e(l,"mobile"))}},makeDotGapToCarouselStyle=(t,o)=>{let l=e=>"outside"===e?"mt":"bottom",a={desktop:`${e(o,"desktop",0)}px`,tablet:`${e(o,"tablet",0)}px`,mobile:`${e(o,"mobile",0)}px`};return{[`--${l(t?.desktop)}`]:a.desktop,[`--${l(t?.tablet)}-tablet`]:a.tablet,[`--${l(t?.mobile)}-mobile`]:a.mobile}};export{getCarouselContainerHeight,makeDotGapToCarouselStyle};
@@ -1037,6 +1037,7 @@ type SizeSetting$1<T> = SharedControlType<T> & {
1037
1037
  settingConfig?: Partial<Record<SettingID, SettingConfig>>;
1038
1038
  hiddenShowMore?: boolean;
1039
1039
  sizePaddingInput?: 'normal' | 'small';
1040
+ lockShapeValue?: boolean;
1040
1041
  };
1041
1042
 
1042
1043
  type ChildIconType<T> = SharedControlType<T> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.14.0-dev.635",
3
+ "version": "1.14.0-dev.640",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",