@gem-sdk/components 2.1.25 → 2.1.26

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.
@@ -164,8 +164,7 @@ const Accordion = ({ builderProps, builderAttrs, style, children, setting, style
164
164
  ...filterStyles,
165
165
  ...contentSizePaddingSize.gap,
166
166
  ...core.getStyleBackgroundByDevice(style?.backgroundContent),
167
- borderRadius: 'inherit',
168
- overflow: 'hidden'
167
+ borderRadius: 'inherit'
169
168
  },
170
169
  children: React.Children.map(children, (child, index)=>{
171
170
  if (/*#__PURE__*/ React.isValidElement(child)) {
@@ -33,8 +33,7 @@ const Accordion = ({ rawChildren, setting, styles, builderProps, pageContext, ad
33
33
  style="${{
34
34
  ...contentSizePaddingSize.gap,
35
35
  ...core.getStyleBackgroundByDevice(backgroundContent),
36
- 'border-radius': 'inherit',
37
- overflow: 'hidden'
36
+ 'border-radius': 'inherit'
38
37
  }}"
39
38
  gp-data='${JSON.stringify({
40
39
  setting: {
@@ -63,6 +63,7 @@ const horizontalThree = [
63
63
  "settings": {
64
64
  "contentType": "text",
65
65
  "displayContent": "SALE {percent_discount}",
66
+ "translate": "displayContent",
66
67
  "displayTrigger": [
67
68
  {
68
69
  "conditionType": "exact_or_above",
@@ -62,6 +62,7 @@ const horizontalTwo = [
62
62
  "settings": {
63
63
  "contentType": "text",
64
64
  "displayContent": "SALE {percent_discount}",
65
+ "translate": "displayContent",
65
66
  "displayTrigger": [
66
67
  {
67
68
  "conditionType": "exact_or_above",
@@ -200,6 +200,7 @@ const verticalThree = [
200
200
  "settings": {
201
201
  "contentType": "text",
202
202
  "displayContent": "SALE {percent_discount}",
203
+ "translate": "displayContent",
203
204
  "displayTrigger": [
204
205
  {
205
206
  "conditionType": "exact_or_above",
@@ -200,6 +200,7 @@ const verticalTwo = [
200
200
  "settings": {
201
201
  "contentType": "text",
202
202
  "displayContent": "SALE {percent_discount}",
203
+ "translate": "displayContent",
203
204
  "displayTrigger": [
204
205
  {
205
206
  "conditionType": "exact_or_above",
@@ -160,8 +160,7 @@ const Accordion = ({ builderProps, builderAttrs, style, children, setting, style
160
160
  ...filterStyles,
161
161
  ...contentSizePaddingSize.gap,
162
162
  ...getStyleBackgroundByDevice(style?.backgroundContent),
163
- borderRadius: 'inherit',
164
- overflow: 'hidden'
163
+ borderRadius: 'inherit'
165
164
  },
166
165
  children: Children.map(children, (child, index)=>{
167
166
  if (/*#__PURE__*/ isValidElement(child)) {
@@ -29,8 +29,7 @@ const Accordion = ({ rawChildren, setting, styles, builderProps, pageContext, ad
29
29
  style="${{
30
30
  ...contentSizePaddingSize.gap,
31
31
  ...getStyleBackgroundByDevice(backgroundContent),
32
- 'border-radius': 'inherit',
33
- overflow: 'hidden'
32
+ 'border-radius': 'inherit'
34
33
  }}"
35
34
  gp-data='${JSON.stringify({
36
35
  setting: {
@@ -61,6 +61,7 @@ const horizontalThree = [
61
61
  "settings": {
62
62
  "contentType": "text",
63
63
  "displayContent": "SALE {percent_discount}",
64
+ "translate": "displayContent",
64
65
  "displayTrigger": [
65
66
  {
66
67
  "conditionType": "exact_or_above",
@@ -60,6 +60,7 @@ const horizontalTwo = [
60
60
  "settings": {
61
61
  "contentType": "text",
62
62
  "displayContent": "SALE {percent_discount}",
63
+ "translate": "displayContent",
63
64
  "displayTrigger": [
64
65
  {
65
66
  "conditionType": "exact_or_above",
@@ -198,6 +198,7 @@ const verticalThree = [
198
198
  "settings": {
199
199
  "contentType": "text",
200
200
  "displayContent": "SALE {percent_discount}",
201
+ "translate": "displayContent",
201
202
  "displayTrigger": [
202
203
  {
203
204
  "conditionType": "exact_or_above",
@@ -198,6 +198,7 @@ const verticalTwo = [
198
198
  "settings": {
199
199
  "contentType": "text",
200
200
  "displayContent": "SALE {percent_discount}",
201
+ "translate": "displayContent",
201
202
  "displayTrigger": [
202
203
  {
203
204
  "conditionType": "exact_or_above",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.1.25",
3
+ "version": "2.1.26",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",