@gem-sdk/core 1.58.0-dev.40 → 1.58.0-dev.46

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.
@@ -112,12 +112,23 @@ function composeAdvanceStyle(data, tag, pageType) {
112
112
  Object.assign(styles, radius.composeRadius(value));
113
113
  }
114
114
  if (attr === 'boxShadow') {
115
- const listElementShadowV2 = [
116
- 'Row',
115
+ const baseElements = [
117
116
  'Section',
117
+ 'Row',
118
118
  'Text',
119
119
  'Heading',
120
- 'Image'
120
+ 'Image',
121
+ 'Button'
122
+ ];
123
+ const productElements = [
124
+ 'ProductTitle',
125
+ 'ProductDescription',
126
+ 'ProductPrice',
127
+ 'ProductVendor'
128
+ ];
129
+ const listElementShadowV2 = [
130
+ ...baseElements,
131
+ ...productElements
121
132
  ];
122
133
  let hasBoxShadowV2 = hasBoxShadow;
123
134
  if (listElementShadowV2.includes(tag || '')) {
@@ -110,12 +110,23 @@ function composeAdvanceStyle(data, tag, pageType) {
110
110
  Object.assign(styles, composeRadius(value));
111
111
  }
112
112
  if (attr === 'boxShadow') {
113
- const listElementShadowV2 = [
114
- 'Row',
113
+ const baseElements = [
115
114
  'Section',
115
+ 'Row',
116
116
  'Text',
117
117
  'Heading',
118
- 'Image'
118
+ 'Image',
119
+ 'Button'
120
+ ];
121
+ const productElements = [
122
+ 'ProductTitle',
123
+ 'ProductDescription',
124
+ 'ProductPrice',
125
+ 'ProductVendor'
126
+ ];
127
+ const listElementShadowV2 = [
128
+ ...baseElements,
129
+ ...productElements
119
130
  ];
120
131
  let hasBoxShadowV2 = hasBoxShadow;
121
132
  if (listElementShadowV2.includes(tag || '')) {
@@ -8110,6 +8110,8 @@ type TypographyV2ControlType<T> = SharedControlType<T> & {
8110
8110
  color?: boolean;
8111
8111
  transform?: boolean;
8112
8112
  fontWeight?: boolean;
8113
+ textShadow?: boolean;
8114
+ textAlign?: boolean;
8113
8115
  };
8114
8116
  disableCollapse?: boolean;
8115
8117
  };
@@ -8548,6 +8550,7 @@ type SettingUIControl = {
8548
8550
  updateFields?: {
8549
8551
  field: string;
8550
8552
  settingId: string;
8553
+ state?: SettingStateType;
8551
8554
  }[];
8552
8555
  };
8553
8556
  setting?: {
@@ -8568,6 +8571,7 @@ type ControlTriggerAction$1 = {
8568
8571
  groupType: string;
8569
8572
  valueIfNull?: any;
8570
8573
  removeDevice?: boolean;
8574
+ state?: SettingStateType;
8571
8575
  };
8572
8576
  type ControlTriggerSetting = {
8573
8577
  source?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.58.0-dev.40",
3
+ "version": "1.58.0-dev.46",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",