@contentful/experiences-core 1.13.1-dev-20240905T1544-1aac9d3.0 → 1.14.0-dev-20240909T1324-6b2cf49.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 +10 -0
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -445,6 +445,13 @@ const builtInStyles = {
|
|
|
445
445
|
defaultValue: 'center',
|
|
446
446
|
displayName: 'Horizontal alignment',
|
|
447
447
|
},
|
|
448
|
+
cfVisibility: {
|
|
449
|
+
displayName: 'Visibility toggle',
|
|
450
|
+
type: 'Boolean',
|
|
451
|
+
group: 'style',
|
|
452
|
+
defaultValue: true,
|
|
453
|
+
description: 'The visibility of the component',
|
|
454
|
+
},
|
|
448
455
|
cfMargin: {
|
|
449
456
|
displayName: 'Margin',
|
|
450
457
|
type: 'Text',
|
|
@@ -726,6 +733,7 @@ const containerBuiltInStyles = {
|
|
|
726
733
|
},
|
|
727
734
|
};
|
|
728
735
|
const dividerBuiltInStyles = {
|
|
736
|
+
cfVisibility: builtInStyles.cfVisibility,
|
|
729
737
|
cfBorderRadius: optionalBuiltInStyles.cfBorderRadius,
|
|
730
738
|
cfMargin: {
|
|
731
739
|
displayName: 'Margin',
|
|
@@ -764,6 +772,7 @@ const dividerBuiltInStyles = {
|
|
|
764
772
|
},
|
|
765
773
|
};
|
|
766
774
|
const singleColumnBuiltInStyles = {
|
|
775
|
+
cfVisibility: builtInStyles.cfVisibility,
|
|
767
776
|
cfBorderRadius: optionalBuiltInStyles.cfBorderRadius,
|
|
768
777
|
cfBackgroundColor: optionalBuiltInStyles.cfBackgroundColor,
|
|
769
778
|
cfBackgroundImageUrl: optionalBuiltInStyles.cfBackgroundImageUrl,
|
|
@@ -861,6 +870,7 @@ const singleColumnBuiltInStyles = {
|
|
|
861
870
|
},
|
|
862
871
|
};
|
|
863
872
|
const columnsBuiltInStyles = {
|
|
873
|
+
cfVisibility: builtInStyles.cfVisibility,
|
|
864
874
|
cfBorderRadius: optionalBuiltInStyles.cfBorderRadius,
|
|
865
875
|
cfBackgroundColor: optionalBuiltInStyles.cfBackgroundColor,
|
|
866
876
|
cfBackgroundImageUrl: optionalBuiltInStyles.cfBackgroundImageUrl,
|