@contentful/experiences-core 1.11.3-dev-20240808T2101-c1fe341.0 → 1.12.0-dev-20240809T1542-35242c4.0
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/index.js +11 -13
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -464,6 +464,7 @@ const builtInStyles = {
|
|
|
464
464
|
type: 'Text',
|
|
465
465
|
group: 'style',
|
|
466
466
|
description: 'The background color of the section',
|
|
467
|
+
defaultValue: 'rgba(0, 0, 0, 0)',
|
|
467
468
|
},
|
|
468
469
|
cfWidth: {
|
|
469
470
|
displayName: 'Width',
|
|
@@ -576,6 +577,13 @@ const optionalBuiltInStyles = {
|
|
|
576
577
|
targetSize: DEFAULT_IMAGE_WIDTH,
|
|
577
578
|
},
|
|
578
579
|
},
|
|
580
|
+
cfBackgroundColor: {
|
|
581
|
+
displayName: 'Background color',
|
|
582
|
+
type: 'Text',
|
|
583
|
+
group: 'style',
|
|
584
|
+
description: 'The background color of the element',
|
|
585
|
+
defaultValue: 'rgba(0, 0, 0, 0)',
|
|
586
|
+
},
|
|
579
587
|
cfBackgroundImageUrl: {
|
|
580
588
|
displayName: 'Background image',
|
|
581
589
|
type: 'Media',
|
|
@@ -745,11 +753,12 @@ const dividerBuiltInStyles = {
|
|
|
745
753
|
type: 'Text',
|
|
746
754
|
group: 'style',
|
|
747
755
|
description: 'The background color of the divider',
|
|
748
|
-
defaultValue: 'rgba(0, 0, 0,
|
|
756
|
+
defaultValue: 'rgba(0, 0, 0, 0)',
|
|
749
757
|
},
|
|
750
758
|
};
|
|
751
759
|
const singleColumnBuiltInStyles = {
|
|
752
760
|
cfBorderRadius: optionalBuiltInStyles.cfBorderRadius,
|
|
761
|
+
cfBackgroundColor: optionalBuiltInStyles.cfBackgroundColor,
|
|
753
762
|
cfBackgroundImageUrl: optionalBuiltInStyles.cfBackgroundImageUrl,
|
|
754
763
|
cfBackgroundImageOptions: optionalBuiltInStyles.cfBackgroundImageOptions,
|
|
755
764
|
cfVerticalAlignment: {
|
|
@@ -805,12 +814,6 @@ const singleColumnBuiltInStyles = {
|
|
|
805
814
|
description: 'The padding of the column',
|
|
806
815
|
defaultValue: '0 0 0 0',
|
|
807
816
|
},
|
|
808
|
-
cfBackgroundColor: {
|
|
809
|
-
displayName: 'Background color',
|
|
810
|
-
type: 'Text',
|
|
811
|
-
group: 'style',
|
|
812
|
-
description: 'The background color of the column',
|
|
813
|
-
},
|
|
814
817
|
cfFlexDirection: {
|
|
815
818
|
displayName: 'Direction',
|
|
816
819
|
type: 'Text',
|
|
@@ -852,6 +855,7 @@ const singleColumnBuiltInStyles = {
|
|
|
852
855
|
};
|
|
853
856
|
const columnsBuiltInStyles = {
|
|
854
857
|
cfBorderRadius: optionalBuiltInStyles.cfBorderRadius,
|
|
858
|
+
cfBackgroundColor: optionalBuiltInStyles.cfBackgroundColor,
|
|
855
859
|
cfBackgroundImageUrl: optionalBuiltInStyles.cfBackgroundImageUrl,
|
|
856
860
|
cfBackgroundImageOptions: optionalBuiltInStyles.cfBackgroundImageOptions,
|
|
857
861
|
cfMargin: {
|
|
@@ -882,12 +886,6 @@ const columnsBuiltInStyles = {
|
|
|
882
886
|
description: 'The padding of the columns',
|
|
883
887
|
defaultValue: '10px 10px 10px 10px',
|
|
884
888
|
},
|
|
885
|
-
cfBackgroundColor: {
|
|
886
|
-
displayName: 'Background color',
|
|
887
|
-
type: 'Text',
|
|
888
|
-
group: 'style',
|
|
889
|
-
description: 'The background color of the columns',
|
|
890
|
-
},
|
|
891
889
|
cfBorder: {
|
|
892
890
|
displayName: 'Border',
|
|
893
891
|
type: 'Text',
|