| @@ -235,35 +235,28 @@ | ||
| 235 | 235 | 'position', |
| 236 | 236 | [ |
| 237 | 237 | 'label' => esc_html__( 'Icon Position', 'elementor' ), |
| 238 | 238 | 'type' => Controls_Manager::CHOOSE, |
| 239 | - 'default' => 'block-start', | |
| 240 | - 'mobile_default' => 'block-start', | |
| 239 | + 'default' => 'top', | |
| 240 | + 'mobile_default' => 'top', | |
| 241 | 241 | 'options' => [ |
| 242 | - 'inline-start' => [ | |
| 243 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 242 | + 'left' => [ | |
| 243 | + 'title' => esc_html__( 'Left', 'elementor' ), | |
| 244 | 244 | 'icon' => 'eicon-h-align-left', |
| 245 | 245 | ], |
| 246 | - 'inline-end' => [ | |
| 247 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 248 | - 'icon' => 'eicon-h-align-right', | |
| 249 | - ], | |
| 250 | - 'block-start' => [ | |
| 246 | + 'top' => [ | |
| 251 | 247 | 'title' => esc_html__( 'Top', 'elementor' ), |
| 252 | 248 | 'icon' => 'eicon-v-align-top', |
| 253 | 249 | ], |
| 254 | - 'block-end' => [ | |
| 250 | + 'right' => [ | |
| 251 | + 'title' => esc_html__( 'Right', 'elementor' ), | |
| 252 | + 'icon' => 'eicon-h-align-right', | |
| 253 | + ], | |
| 254 | + 'bottom' => [ | |
| 255 | 255 | 'title' => esc_html__( 'Bottom', 'elementor' ), |
| 256 | 256 | 'icon' => 'eicon-v-align-bottom', |
| 257 | 257 | ], |
| 258 | 258 | ], |
| 259 | - 'classes' => 'elementor-control-start-end', | |
| 260 | - 'classes_dictionary' => [ | |
| 261 | - 'left' => is_rtl() ? 'inline-end' : 'inline-start', | |
| 262 | - 'right' => is_rtl() ? 'inline-start' : 'inline-end', | |
| 263 | - 'top' => 'block-start', | |
| 264 | - 'bottom' => 'block-end', | |
| 265 | - ], | |
| 266 | 259 | 'prefix_class' => 'elementor%s-position-', |
| 267 | 260 | 'condition' => [ |
| 268 | 261 | 'selected_icon[value]!' => '', |
| 269 | 262 | ], |
| @@ -299,9 +292,9 @@ | ||
| 299 | 292 | '{{WRAPPER}} .elementor-icon-box-wrapper' => 'align-items: {{VALUE}};', |
| 300 | 293 | ], |
| 301 | 294 | 'condition' => [ |
| 302 | 295 | 'selected_icon[value]!' => '', |
| 303 | - 'position' => [ 'left', 'right', 'inline-start', 'inline-end' ], | |
| 296 | + 'position' => [ 'left', 'right' ], | |
| 304 | 297 | ], |
| 305 | 298 | ] |
| 306 | 299 | ); |
| 307 | 300 | |
| @@ -310,10 +303,10 @@ | ||
| 310 | 303 | [ |
| 311 | 304 | 'label' => esc_html__( 'Alignment', 'elementor' ), |
| 312 | 305 | 'type' => Controls_Manager::CHOOSE, |
| 313 | 306 | 'options' => [ |
| 314 | - 'start' => [ | |
| 315 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 307 | + 'left' => [ | |
| 308 | + 'title' => esc_html__( 'Left', 'elementor' ), | |
| 316 | 309 | 'icon' => 'eicon-text-align-left', |
| 317 | 310 | ], |
| 318 | 311 | 'center' => [ |
| 319 | 312 | 'title' => esc_html__( 'Center', 'elementor' ), |
| @@ -318,10 +311,10 @@ | ||
| 318 | 311 | 'center' => [ |
| 319 | 312 | 'title' => esc_html__( 'Center', 'elementor' ), |
| 320 | 313 | 'icon' => 'eicon-text-align-center', |
| 321 | 314 | ], |
| 322 | - 'end' => [ | |
| 323 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 315 | + 'right' => [ | |
| 316 | + 'title' => esc_html__( 'Right', 'elementor' ), | |
| 324 | 317 | 'icon' => 'eicon-text-align-right', |
| 325 | 318 | ], |
| 326 | 319 | 'justify' => [ |
| 327 | 320 | 'title' => esc_html__( 'Justified', 'elementor' ), |
| @@ -327,13 +320,8 @@ | ||
| 327 | 320 | 'title' => esc_html__( 'Justified', 'elementor' ), |
| 328 | 321 | 'icon' => 'eicon-text-align-justify', |
| 329 | 322 | ], |
| 330 | 323 | ], |
| 331 | - 'classes' => 'elementor-control-start-end', | |
| 332 | - 'selectors_dictionary' => [ | |
| 333 | - 'left' => is_rtl() ? 'end' : 'start', | |
| 334 | - 'right' => is_rtl() ? 'start' : 'end', | |
| 335 | - ], | |
| 336 | 324 | 'selectors' => [ |
| 337 | 325 | '{{WRAPPER}} .elementor-icon-box-wrapper' => 'text-align: {{VALUE}};', |
| 338 | 326 | ], |
| 339 | 327 | 'separator' => 'after', |
| @@ -360,9 +348,9 @@ | ||
| 360 | 348 | 'max' => 10, |
| 361 | 349 | ], |
| 362 | 350 | ], |
| 363 | 351 | 'selectors' => [ |
| 364 | - '{{WRAPPER}} .elementor-icon-box-wrapper' => 'gap: {{SIZE}}{{UNIT}};', | |
| 352 | + '{{WRAPPER}}' => '--icon-box-icon-margin: {{SIZE}}{{UNIT}}', | |
| 365 | 353 | ], |
| 366 | 354 | 'condition' => [ |
| 367 | 355 | 'selected_icon[value]!' => '', |
| 368 | 356 | ], |