@gem-sdk/core 1.48.0-dev.20 → 1.48.0-dev.28

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.
@@ -121,7 +121,7 @@ const getBgAttachmentByDevice = (background, device)=>{
121
121
  return background?.[device]?.attachment;
122
122
  };
123
123
  const composeBackgroundCss = (backgroundColor)=>{
124
- return `${backgroundColor ? `background-color: ${colors.getSingleColorVariable(backgroundColor)} !important;` : undefined}`;
124
+ return `${backgroundColor ? `background-color: ${colors.getSingleColorVariable(backgroundColor)};` : undefined}`;
125
125
  };
126
126
  const makeFixedBgAttachment = (background)=>{
127
127
  if (!background) return;
@@ -84,7 +84,14 @@ const EasyBundleBuilderSkailamaConfig = {
84
84
  appId: '05b1325c-6303-4da5-8e2f-b13ab2a50e1a'
85
85
  }
86
86
  };
87
+ const AssortionUpsellBundlesConfig = {
88
+ AssortionUpsellBundles: {
89
+ appName: 'assortion',
90
+ appId: '5588d7f9-a5bc-4f4a-9c54-39b7e081dd23'
91
+ }
92
+ };
87
93
 
94
+ exports.AssortionUpsellBundlesConfig = AssortionUpsellBundlesConfig;
88
95
  exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
89
96
  exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
90
97
  exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
@@ -134,7 +134,15 @@ const EasyBundleBuilderSkailama = {
134
134
  'app-block-bundlePage': null
135
135
  }
136
136
  };
137
+ const AssortionUpsellBundles = {
138
+ AssortionUpsellBundles: {
139
+ volume: null,
140
+ bundle: null,
141
+ addon: null
142
+ }
143
+ };
137
144
  const composeSettingsByWidgetType = {
145
+ ...AssortionUpsellBundles,
138
146
  ...EasyBundleBuilderSkailama,
139
147
  ...FastBundleBundlesDiscounts,
140
148
  ...KiteFreeGiftDiscount,
@@ -16,7 +16,8 @@ const mapShopifyAppMeta = {
16
16
  ...appConfig.KiteFreeGiftDiscountConfig,
17
17
  ...appConfig.FastBundleBundlesDiscountsConfig,
18
18
  ...appConfig.SimpleBundlesKitsConfig,
19
- ...appConfig.EasyBundleBuilderSkailamaConfig
19
+ ...appConfig.EasyBundleBuilderSkailamaConfig,
20
+ ...appConfig.AssortionUpsellBundlesConfig
20
21
  };
21
22
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
22
23
 
@@ -119,7 +119,7 @@ const getBgAttachmentByDevice = (background, device)=>{
119
119
  return background?.[device]?.attachment;
120
120
  };
121
121
  const composeBackgroundCss = (backgroundColor)=>{
122
- return `${backgroundColor ? `background-color: ${getSingleColorVariable(backgroundColor)} !important;` : undefined}`;
122
+ return `${backgroundColor ? `background-color: ${getSingleColorVariable(backgroundColor)};` : undefined}`;
123
123
  };
124
124
  const makeFixedBgAttachment = (background)=>{
125
125
  if (!background) return;
@@ -82,5 +82,11 @@ const EasyBundleBuilderSkailamaConfig = {
82
82
  appId: '05b1325c-6303-4da5-8e2f-b13ab2a50e1a'
83
83
  }
84
84
  };
85
+ const AssortionUpsellBundlesConfig = {
86
+ AssortionUpsellBundles: {
87
+ appName: 'assortion',
88
+ appId: '5588d7f9-a5bc-4f4a-9c54-39b7e081dd23'
89
+ }
90
+ };
85
91
 
86
- export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
92
+ export { AssortionUpsellBundlesConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
@@ -132,7 +132,15 @@ const EasyBundleBuilderSkailama = {
132
132
  'app-block-bundlePage': null
133
133
  }
134
134
  };
135
+ const AssortionUpsellBundles = {
136
+ AssortionUpsellBundles: {
137
+ volume: null,
138
+ bundle: null,
139
+ addon: null
140
+ }
141
+ };
135
142
  const composeSettingsByWidgetType = {
143
+ ...AssortionUpsellBundles,
136
144
  ...EasyBundleBuilderSkailama,
137
145
  ...FastBundleBundlesDiscounts,
138
146
  ...KiteFreeGiftDiscount,
@@ -1,4 +1,4 @@
1
- import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig } from './appConfig.js';
1
+ import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, AssortionUpsellBundlesConfig } from './appConfig.js';
2
2
 
3
3
  const mapShopifyAppMeta = {
4
4
  ...RechargeSubscriptionsConfig,
@@ -14,7 +14,8 @@ const mapShopifyAppMeta = {
14
14
  ...KiteFreeGiftDiscountConfig,
15
15
  ...FastBundleBundlesDiscountsConfig,
16
16
  ...SimpleBundlesKitsConfig,
17
- ...EasyBundleBuilderSkailamaConfig
17
+ ...EasyBundleBuilderSkailamaConfig,
18
+ ...AssortionUpsellBundlesConfig
18
19
  };
19
20
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
20
21
 
@@ -7334,6 +7334,7 @@ type Option$2<T> = {
7334
7334
  tooltip?: string;
7335
7335
  type?: string;
7336
7336
  note?: string;
7337
+ maxOption?: number;
7337
7338
  };
7338
7339
  type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7339
7340
  id: K;
@@ -29956,6 +29957,15 @@ declare const filterAttrInStyle: (style?: React.CSSProperties, filterKeys?: stri
29956
29957
  '--gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
29957
29958
  '--hvr-gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
29958
29959
  '--focus-gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
29960
+ '--gr'?: csstype.Property.GridRow | undefined;
29961
+ '--hvr-gr'?: csstype.Property.GridRow | undefined;
29962
+ '--focus-gr'?: csstype.Property.GridRow | undefined;
29963
+ '--gr-tablet'?: csstype.Property.GridRow | undefined;
29964
+ '--hvr-gr-tablet'?: csstype.Property.GridRow | undefined;
29965
+ '--focus-gr-tablet'?: csstype.Property.GridRow | undefined;
29966
+ '--gr-mobile'?: csstype.Property.GridRow | undefined;
29967
+ '--hvr-gr-mobile'?: csstype.Property.GridRow | undefined;
29968
+ '--focus-gr-mobile'?: csstype.Property.GridRow | undefined;
29959
29969
  '--gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
29960
29970
  '--hvr-gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
29961
29971
  '--focus-gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
@@ -31460,6 +31470,15 @@ declare const removeAttrInStyle: (style?: React.CSSProperties, filterKeys?: stri
31460
31470
  '--gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
31461
31471
  '--hvr-gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
31462
31472
  '--focus-gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
31473
+ '--gr'?: csstype.Property.GridRow | undefined;
31474
+ '--hvr-gr'?: csstype.Property.GridRow | undefined;
31475
+ '--focus-gr'?: csstype.Property.GridRow | undefined;
31476
+ '--gr-tablet'?: csstype.Property.GridRow | undefined;
31477
+ '--hvr-gr-tablet'?: csstype.Property.GridRow | undefined;
31478
+ '--focus-gr-tablet'?: csstype.Property.GridRow | undefined;
31479
+ '--gr-mobile'?: csstype.Property.GridRow | undefined;
31480
+ '--hvr-gr-mobile'?: csstype.Property.GridRow | undefined;
31481
+ '--focus-gr-mobile'?: csstype.Property.GridRow | undefined;
31463
31482
  '--gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
31464
31483
  '--hvr-gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
31465
31484
  '--focus-gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
@@ -32964,6 +32983,15 @@ declare const filterCornerInStyle: (style?: React.CSSProperties) => {
32964
32983
  '--gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
32965
32984
  '--hvr-gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
32966
32985
  '--focus-gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
32986
+ '--gr'?: csstype.Property.GridRow | undefined;
32987
+ '--hvr-gr'?: csstype.Property.GridRow | undefined;
32988
+ '--focus-gr'?: csstype.Property.GridRow | undefined;
32989
+ '--gr-tablet'?: csstype.Property.GridRow | undefined;
32990
+ '--hvr-gr-tablet'?: csstype.Property.GridRow | undefined;
32991
+ '--focus-gr-tablet'?: csstype.Property.GridRow | undefined;
32992
+ '--gr-mobile'?: csstype.Property.GridRow | undefined;
32993
+ '--hvr-gr-mobile'?: csstype.Property.GridRow | undefined;
32994
+ '--focus-gr-mobile'?: csstype.Property.GridRow | undefined;
32967
32995
  '--gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
32968
32996
  '--hvr-gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
32969
32997
  '--focus-gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
@@ -34468,6 +34496,15 @@ declare const removePaddingYInStyle: (style?: React.CSSProperties) => {
34468
34496
  '--gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
34469
34497
  '--hvr-gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
34470
34498
  '--focus-gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
34499
+ '--gr'?: csstype.Property.GridRow | undefined;
34500
+ '--hvr-gr'?: csstype.Property.GridRow | undefined;
34501
+ '--focus-gr'?: csstype.Property.GridRow | undefined;
34502
+ '--gr-tablet'?: csstype.Property.GridRow | undefined;
34503
+ '--hvr-gr-tablet'?: csstype.Property.GridRow | undefined;
34504
+ '--focus-gr-tablet'?: csstype.Property.GridRow | undefined;
34505
+ '--gr-mobile'?: csstype.Property.GridRow | undefined;
34506
+ '--hvr-gr-mobile'?: csstype.Property.GridRow | undefined;
34507
+ '--focus-gr-mobile'?: csstype.Property.GridRow | undefined;
34471
34508
  '--gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
34472
34509
  '--hvr-gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
34473
34510
  '--focus-gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
@@ -36112,6 +36149,15 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
36112
36149
  '--gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
36113
36150
  '--hvr-gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
36114
36151
  '--focus-gg-mobile'?: csstype.Property.GridGap<string | number> | undefined;
36152
+ '--gr'?: csstype.Property.GridRow | undefined;
36153
+ '--hvr-gr'?: csstype.Property.GridRow | undefined;
36154
+ '--focus-gr'?: csstype.Property.GridRow | undefined;
36155
+ '--gr-tablet'?: csstype.Property.GridRow | undefined;
36156
+ '--hvr-gr-tablet'?: csstype.Property.GridRow | undefined;
36157
+ '--focus-gr-tablet'?: csstype.Property.GridRow | undefined;
36158
+ '--gr-mobile'?: csstype.Property.GridRow | undefined;
36159
+ '--hvr-gr-mobile'?: csstype.Property.GridRow | undefined;
36160
+ '--focus-gr-mobile'?: csstype.Property.GridRow | undefined;
36115
36161
  '--gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
36116
36162
  '--hvr-gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
36117
36163
  '--focus-gtc'?: csstype.Property.GridTemplateColumns<string | number> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.48.0-dev.20",
3
+ "version": "1.48.0-dev.28",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@gem-sdk/adapter-shopify": "1.48.0-dev.3",
31
- "@gem-sdk/styles": "1.48.0-dev.17",
31
+ "@gem-sdk/styles": "1.48.0-dev.21",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {