@gem-sdk/core 2.6.0-staging.13 → 2.6.0-staging.18
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/helpers/size.js
CHANGED
|
@@ -114,8 +114,8 @@ const getFlexGrowClassByShapeGlobalSize = (shapeByLayout)=>{
|
|
|
114
114
|
const shapeByDevice = getResonsiveValue.getResponsiveValueByScreen(shapeByLayout, device);
|
|
115
115
|
const height = shapeByDevice?.height;
|
|
116
116
|
const shapeValue = shapeByDevice?.shapeValue;
|
|
117
|
-
const classFlex1 = device === 'desktop' ? 'gp-flex-1' : `${device}:gp-flex-1`;
|
|
118
|
-
const classFlexNone = device === 'desktop' ? 'gp-flex-none' : `${device}:gp-flex-none`;
|
|
117
|
+
const classFlex1 = device === 'desktop' ? 'gp-flex-1 gp-h-full' : `${device}:gp-flex-1 ${device}:gp-h-full`;
|
|
118
|
+
const classFlexNone = device === 'desktop' ? 'gp-flex-none gp-h-auto' : `${device}:gp-flex-none ${device}:gp-h-auto`;
|
|
119
119
|
result = {
|
|
120
120
|
...result,
|
|
121
121
|
[classFlex1]: height === '100%' && !shapeValue,
|
package/dist/esm/helpers/size.js
CHANGED
|
@@ -112,8 +112,8 @@ const getFlexGrowClassByShapeGlobalSize = (shapeByLayout)=>{
|
|
|
112
112
|
const shapeByDevice = getResponsiveValueByScreen(shapeByLayout, device);
|
|
113
113
|
const height = shapeByDevice?.height;
|
|
114
114
|
const shapeValue = shapeByDevice?.shapeValue;
|
|
115
|
-
const classFlex1 = device === 'desktop' ? 'gp-flex-1' : `${device}:gp-flex-1`;
|
|
116
|
-
const classFlexNone = device === 'desktop' ? 'gp-flex-none' : `${device}:gp-flex-none`;
|
|
115
|
+
const classFlex1 = device === 'desktop' ? 'gp-flex-1 gp-h-full' : `${device}:gp-flex-1 ${device}:gp-h-full`;
|
|
116
|
+
const classFlexNone = device === 'desktop' ? 'gp-flex-none gp-h-auto' : `${device}:gp-flex-none ${device}:gp-h-auto`;
|
|
117
117
|
result = {
|
|
118
118
|
...result,
|
|
119
119
|
[classFlex1]: height === '100%' && !shapeValue,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -36500,6 +36500,7 @@ type PublishedThemePagesQueryResponse = {
|
|
|
36500
36500
|
pageSections?: Maybe$1<Array<Maybe$1<Pick<PublishedPageSection$1, 'cid' | 'component' | 'id'>>>>;
|
|
36501
36501
|
themePageCustomSections?: Maybe$1<Array<Maybe$1<Pick<PublishedCustomSection$1, 'cid' | 'component' | 'id' | 'type'>>>>;
|
|
36502
36502
|
themePageDataSEO?: Maybe$1<Array<Maybe$1<Pick<DataSeo$1, 'id' | 'key' | 'value'>>>>;
|
|
36503
|
+
metafields?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'id' | 'key' | 'value'>>>>;
|
|
36503
36504
|
pageStyle?: Maybe$1<Pick<PublishedThemeStyle$1, 'id' | 'data' | 'name'>>;
|
|
36504
36505
|
themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
36505
36506
|
themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
@@ -44980,6 +44981,7 @@ declare const useSwatchesOptions: (options?: ProductOption$1[]) => ProductOption
|
|
|
44980
44981
|
type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name' | 'handle' | 'isMobile' | 'sectionPosition'> & {
|
|
44981
44982
|
pageSections?: Maybe$1<Array<Maybe$1<Pick<PublishedPageSection$1, 'cid' | 'component' | 'id'>>>>;
|
|
44982
44983
|
themePageCustomSections?: Maybe$1<Array<Maybe$1<Pick<PublishedCustomSection$1, 'cid' | 'component' | 'id' | 'type'>>>>;
|
|
44984
|
+
metafields?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'id' | 'key' | 'value'>>>>;
|
|
44983
44985
|
themePageDataSEO?: Maybe$1<Array<Maybe$1<Pick<DataSeo$1, 'id' | 'key' | 'value'>>>>;
|
|
44984
44986
|
pageStyle?: Maybe$1<Pick<PublishedThemeStyle$1, 'id' | 'data' | 'name'>>;
|
|
44985
44987
|
themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|