Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: array-table/main.scss mixed-decls deprecation warning on [email protected] #4195

Open
wants to merge 1 commit into
base: formily_next
Choose a base branch
from

Commits on Jul 30, 2024

  1. fix: array-table/main.scss mixed-decls Deprecation warning on sass@1.…

    …77.7 +
    
    see: 
    https://sass-lang.com/documentation/breaking-changes/mixed-decls/#example-mixed-declarations-opt-in-scss
    
    warning report:
    
    ```shell
    Deprecation Warning: Sass's behavior for declarations that appear after nested
    rules will be changing to match the behavior specified by CSS in an upcoming
    version. To keep the existing behavior, move the declaration above the nested
    rule. To opt into the new behavior, wrap the declaration in `& {}`.
    
    More info: https://sass-lang.com/d/mixed-decls
    
        ╷
    47  │ ┌           &.#{$css-prefix}formily-item-warning-help {
    48  │ │             color: $form-warning-color;
    49  │ │           }
        │ └─── nested rule
    ... │
    54  │             top: 100%;
        │             ^^^^^^^^^ declaration
        ╵
        stdin 54:11  root stylesheet
    ```
    
    ## issues
    - sass/dart-sass#2280
    - vitejs/vite#7116
    veaba authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    ec18e32 View commit details
    Browse the repository at this point in the history