@pernod-ricard-global-cms/cbl-component-library
Advanced tools
Comparing version
@@ -18,3 +18,3 @@ { | ||
}, | ||
"wpml_cf_preferences": 3, | ||
"wpml_cf_preferences": 1, | ||
"message": "", | ||
@@ -188,4 +188,4 @@ "default_value": 0, | ||
{ | ||
"key": "field_626f078b81e55", | ||
"label": "Tips", | ||
"key": "field_626bfd57aa1be", | ||
"label": "Tips:", | ||
"name": "", | ||
@@ -210,3 +210,3 @@ "type": "message", | ||
"wpml_cf_preferences": 2, | ||
"message": "- Autoplay will only work if muted is enabled while full screen and pop up modal are disabled. \r\n- Pop up modal and fullscreen will only work on the front end. In the admin the video will still play in the block window.", | ||
"message": "- To enable the option to autoplay video you need to set:\r\nmuted : true\r\nplay in pop up : false\r\nfullscreen : false\r\n\r\n- Fullscreen and pop up modal will only work on the front end. In the admin they will play in the preview box as usual.", | ||
"new_lines": "wpautop", | ||
@@ -300,5 +300,5 @@ "esc_html": 0 | ||
{ | ||
"key": "field_6258a9c62cb31", | ||
"label": "Autoplay", | ||
"name": "autoplay", | ||
"key": "field_6258a99c1fec2", | ||
"label": "Play in pop up modal", | ||
"name": "modal", | ||
"type": "true_false", | ||
@@ -329,5 +329,5 @@ "instructions": "", | ||
{ | ||
"key": "field_6258a99c1fec2", | ||
"label": "Play in pop up modal", | ||
"name": "modal", | ||
"key": "field_6258aa0c297cd", | ||
"label": "Fullscreen", | ||
"name": "fullscreen", | ||
"type": "true_false", | ||
@@ -342,2 +342,7 @@ "instructions": "", | ||
"value": "1" | ||
}, | ||
{ | ||
"field": "field_6258a8f13dbd0", | ||
"operator": "!=", | ||
"value": "__vimeo" | ||
} | ||
@@ -359,5 +364,5 @@ ] | ||
{ | ||
"key": "field_6258aa0c297cd", | ||
"label": "Fullscreen", | ||
"name": "fullscreen", | ||
"key": "field_6258a9c62cb31", | ||
"label": "Autoplay", | ||
"name": "autoplay", | ||
"type": "true_false", | ||
@@ -372,2 +377,12 @@ "instructions": "", | ||
"value": "1" | ||
}, | ||
{ | ||
"field": "field_6258aa2a297ce", | ||
"operator": "==", | ||
"value": "1" | ||
}, | ||
{ | ||
"field": "field_6258a99c1fec2", | ||
"operator": "!=", | ||
"value": "1" | ||
} | ||
@@ -393,7 +408,2 @@ ] | ||
"param": "block", | ||
"operator": "==", | ||
"value": "all" | ||
}, | ||
{ | ||
"param": "block", | ||
"operator": "!=", | ||
@@ -413,3 +423,3 @@ "value": "all" | ||
"show_in_rest": 0, | ||
"modified": 1651443843 | ||
"modified": 1651689483 | ||
} |
{ | ||
"name": "@pernod-ricard-global-cms/cbl-component-library", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Component library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,5 +15,3 @@ # cbl-component-library | ||
"install-component": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/install-component.js", | ||
"upgrade-component": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/upgrade-component.js", | ||
"list-components": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/list-components.js", | ||
`"install-component": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/install-component.js", "upgrade-component": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/upgrade-component.js", "list-components": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/list-components.js",` | ||
@@ -23,1 +21,5 @@ eg you can list the available components with | ||
`yarn list-components` | ||
and then you can install and component with | ||
`yarn install-component <name-of-component>` |
40136
10.52%20
5.26%1132
12.52%24
9.09%