| @@ -32,9 +32,9 @@ | ||
| 32 | 32 | 'type' => Controls_Manager::SWITCHER, |
| 33 | 33 | 'label_on' => esc_html__( 'Show', 'elementor' ), |
| 34 | 34 | 'label_off' => esc_html__( 'Hide', 'elementor' ), |
| 35 | 35 | 'default' => 'yes', |
| 36 | - 'editor_available' => true, | |
| 36 | + 'frontend_available' => true, | |
| 37 | 37 | ]; |
| 38 | 38 | |
| 39 | 39 | $responsive_unit_defaults = $this->get_responsive_unit_defaults(); |
| 40 | 40 | |
| @@ -63,9 +63,9 @@ | ||
| 63 | 63 | 'selectors' => [ |
| 64 | 64 | '{{SELECTOR}}' => '--e-con-grid-template-columns: repeat({{SIZE}}, 1fr)', |
| 65 | 65 | ], |
| 66 | 66 | 'responsive' => true, |
| 67 | - 'editor_available' => true, | |
| 67 | + 'frontend_available' => true, | |
| 68 | 68 | ] + $responsive_unit_defaults; |
| 69 | 69 | |
| 70 | 70 | $fields['rows_grid'] = [ |
| 71 | 71 | 'label' => esc_html__( 'Rows', 'elementor' ), |
| @@ -88,9 +88,9 @@ | ||
| 88 | 88 | 'selectors' => [ |
| 89 | 89 | '{{SELECTOR}}' => '--e-con-grid-template-rows: repeat({{SIZE}}, 1fr)', |
| 90 | 90 | ], |
| 91 | 91 | 'responsive' => true, |
| 92 | - 'editor_available' => true, | |
| 92 | + 'frontend_available' => true, | |
| 93 | 93 | ] + $responsive_unit_defaults; |
| 94 | 94 | |
| 95 | 95 | $fields['gaps'] = [ |
| 96 | 96 | 'label' => esc_html__( 'Gaps', 'elementor' ), |
| @@ -100,9 +100,9 @@ | ||
| 100 | 100 | 'unit' => 'px', |
| 101 | 101 | ], |
| 102 | 102 | 'separator' => 'before', |
| 103 | 103 | 'selectors' => [ |
| 104 | - '{{SELECTOR}}' => '--gap: {{ROW}}{{UNIT}} {{COLUMN}}{{UNIT}};--row-gap: {{ROW}}{{UNIT}};--column-gap: {{COLUMN}}{{UNIT}};', | |
| 104 | + '{{SELECTOR}}' => '--gap: {{ROW}}{{UNIT}} {{COLUMN}}{{UNIT}}', | |
| 105 | 105 | ], |
| 106 | 106 | 'responsive' => true, |
| 107 | 107 | 'validators' => [ |
| 108 | 108 | 'Number' => [ |
| @@ -123,9 +123,9 @@ | ||
| 123 | 123 | 'selectors' => [ |
| 124 | 124 | '{{SELECTOR}}' => '--grid-auto-flow: {{VALUE}}', |
| 125 | 125 | ], |
| 126 | 126 | 'responsive' => true, |
| 127 | - 'editor_available' => true, | |
| 127 | + 'frontend_available' => true, | |
| 128 | 128 | ] + $this->get_responsive_autoflow_defaults(); |
| 129 | 129 | |
| 130 | 130 | $fields['justify_items'] = [ |
| 131 | 131 | 'label' => esc_html__( 'Justify Items', 'elementor' ), |
| @@ -131,17 +131,17 @@ | ||
| 131 | 131 | 'label' => esc_html__( 'Justify Items', 'elementor' ), |
| 132 | 132 | 'type' => Controls_Manager::CHOOSE, |
| 133 | 133 | 'options' => [ |
| 134 | 134 | 'start' => [ |
| 135 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 135 | + 'title' => esc_html_x( 'Start', 'Grid Container Control', 'elementor' ), | |
| 136 | 136 | 'icon' => 'eicon-align-' . $icon_start . '-h', |
| 137 | 137 | ], |
| 138 | 138 | 'center' => [ |
| 139 | - 'title' => esc_html__( 'Center', 'elementor' ), | |
| 139 | + 'title' => esc_html_x( 'Center', 'Grid Container Control', 'elementor' ), | |
| 140 | 140 | 'icon' => 'eicon-align-center-h', |
| 141 | 141 | ], |
| 142 | 142 | 'end' => [ |
| 143 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 143 | + 'title' => esc_html_x( 'End', 'Grid Container Control', 'elementor' ), | |
| 144 | 144 | 'icon' => 'eicon-align-' . $icon_end . '-h', |
| 145 | 145 | ], |
| 146 | 146 | 'stretch' => [ |
| 147 | 147 | 'title' => esc_html__( 'Stretch', 'elementor' ), |
| @@ -159,17 +159,17 @@ | ||
| 159 | 159 | 'label' => esc_html__( 'Align Items', 'elementor' ), |
| 160 | 160 | 'type' => Controls_Manager::CHOOSE, |
| 161 | 161 | 'options' => [ |
| 162 | 162 | 'start' => [ |
| 163 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 163 | + 'title' => esc_html_x( 'Start', 'Grid Container Control', 'elementor' ), | |
| 164 | 164 | 'icon' => 'eicon-align-start-v', |
| 165 | 165 | ], |
| 166 | 166 | 'center' => [ |
| 167 | - 'title' => esc_html__( 'Center', 'elementor' ), | |
| 167 | + 'title' => esc_html_x( 'Center', 'Grid Container Control', 'elementor' ), | |
| 168 | 168 | 'icon' => 'eicon-align-center-v', |
| 169 | 169 | ], |
| 170 | 170 | 'end' => [ |
| 171 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 171 | + 'title' => esc_html_x( 'End', 'Grid Container Control', 'elementor' ), | |
| 172 | 172 | 'icon' => 'eicon-align-end-v', |
| 173 | 173 | ], |
| 174 | 174 | 'stretch' => [ |
| 175 | 175 | 'title' => esc_html__( 'Stretch', 'elementor' ), |
| @@ -188,17 +188,17 @@ | ||
| 188 | 188 | 'label_block' => true, |
| 189 | 189 | 'default' => '', |
| 190 | 190 | 'options' => [ |
| 191 | 191 | 'start' => [ |
| 192 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 192 | + 'title' => esc_html_x( 'Start', 'Grid Container Control', 'elementor' ), | |
| 193 | 193 | 'icon' => 'eicon-justify-start-h', |
| 194 | 194 | ], |
| 195 | 195 | 'center' => [ |
| 196 | - 'title' => esc_html__( 'Middle', 'elementor' ), | |
| 196 | + 'title' => esc_html_x( 'Middle', 'Grid Container Control', 'elementor' ), | |
| 197 | 197 | 'icon' => 'eicon-justify-center-h', |
| 198 | 198 | ], |
| 199 | 199 | 'end' => [ |
| 200 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 200 | + 'title' => esc_html_x( 'End', 'Grid Container Control', 'elementor' ), | |
| 201 | 201 | 'icon' => 'eicon-justify-end-h', |
| 202 | 202 | ], |
| 203 | 203 | 'space-between' => [ |
| 204 | 204 | 'title' => esc_html__( 'Space Between', 'elementor' ), |
| @@ -228,17 +228,17 @@ | ||
| 228 | 228 | 'label_block' => true, |
| 229 | 229 | 'default' => '', |
| 230 | 230 | 'options' => [ |
| 231 | 231 | 'start' => [ |
| 232 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 232 | + 'title' => esc_html_x( 'Start', 'Grid Container Control', 'elementor' ), | |
| 233 | 233 | 'icon' => 'eicon-justify-start-v', |
| 234 | 234 | ], |
| 235 | 235 | 'center' => [ |
| 236 | - 'title' => esc_html__( 'Middle', 'elementor' ), | |
| 236 | + 'title' => esc_html_x( 'Middle', 'Grid Container Control', 'elementor' ), | |
| 237 | 237 | 'icon' => 'eicon-justify-center-v', |
| 238 | 238 | ], |
| 239 | 239 | 'end' => [ |
| 240 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 240 | + 'title' => esc_html_x( 'End', 'Grid Container Control', 'elementor' ), | |
| 241 | 241 | 'icon' => 'eicon-justify-end-v', |
| 242 | 242 | ], |
| 243 | 243 | 'space-between' => [ |
| 244 | 244 | 'title' => esc_html__( 'Space Between', 'elementor' ), |