| @@ -20,8 +20,23 @@ | ||
| 20 | 20 | return 'elements-color-picker'; |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | + * Set the Eye-Dropper as an experimental feature. | |
| 25 | + * | |
| 26 | + * @return array | |
| 27 | + */ | |
| 28 | + public static function get_experimental_data() { | |
| 29 | + return [ | |
| 30 | + 'name' => 'elements-color-picker', | |
| 31 | + 'title' => esc_html__( 'Color Sampler', 'elementor' ), | |
| 32 | + 'default' => Manager::STATE_ACTIVE, | |
| 33 | + 'release_status' => Experiments_Manager::RELEASE_STATUS_STABLE, | |
| 34 | + 'description' => esc_html__( 'Adds a new color picker functionality that allows choose a color from other elements settings.', 'elementor' ), | |
| 35 | + ]; | |
| 36 | + } | |
| 37 | + | |
| 38 | + /** | |
| 24 | 39 | * Enqueue the `Color-Thief` library to pick colors from images. |
| 25 | 40 | * |
| 26 | 41 | * @return void |
| 27 | 42 | */ |