Skip to content

CI Improvement [ED-15700]#2

Draft
baghdasarovelementor wants to merge 19 commits intomainfrom
internal/ED-15700-CI-Improvement
Draft

CI Improvement [ED-15700]#2
baghdasarovelementor wants to merge 19 commits intomainfrom
internal/ED-15700-CI-Improvement

Conversation

@baghdasarovelementor
Copy link
Copy Markdown
Owner

PR Checklist

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

Summary

This PR can be summarized in the following changelog entry:

Description

An explanation of what is done in this PR

Test instructions

This PR can be tested by following these steps:

Quality assurance

  • I have tested this code to the best of my abilities
  • I have added unittests to verify the code works as intended
  • Docs have been added / updated (for bug fixes / features)

Fixes #

baghdasarovelementor and others added 15 commits November 15, 2024 18:33
…or#29233)

Co-authored-by: ElementorBot <48412871+elementorbot@users.noreply.github.com>
Co-authored-by: Ariel Klikstein <ariel@elementor.com>
…lementor#29274)

See https://github.com/orgs/elementor/discussions/21847

---------

Co-authored-by: Hein van Vlastuin <94352322+hein-obox@users.noreply.github.com>
… single size values [EDS-583] (elementor#29218)

We'd like the border-radius and border-width support either their
corresponding "corners" / "edges" prop types, but also a simple "size"
prop type in case all dimensions are equal

e.g.

`border-radius` could be set with -
```
{
  $$type: 'corners',
  value: {
    'top-left': {
      $$type: 'size',
      value: {
        size: 5,
        unit: 'px'
      },
    },
    'top-right': {
      $$type: 'size',
      value: {
        size: 5,
        unit: 'px'
      },
    },
    'bottom-right': {
      $$type: 'size',
      value: {
        size: 5,
        unit: 'px'
      },
    },
    'bottom-left': {
      $$type: 'size',
      value: {
        size: 5,
        unit: 'px'
      },
    },
  }
}
```

which will be translated to -
```
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
```

but `border-radius` could instead just be -
```
{
  $$type: 'size',
  value: {
    size: 5,
    unit: 'px'
  },
}
```

and have a simpler CSS -
```
border-radius: 5px;
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants