|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | // Original definitions (@types/postcss-nested)
|
|---|
| 2 | // by Maxim Vorontsov <https://github.com/VorontsovMaxim>
|
|---|
| 3 |
|
|---|
| 4 | import { PluginCreator } from 'postcss'
|
|---|
| 5 |
|
|---|
| 6 | declare namespace nested {
|
|---|
| 7 | interface Options {
|
|---|
| 8 | /**
|
|---|
| 9 | * By default, plugin will bubble only `@media`, `@supports` and `@layer`
|
|---|
| 10 | * at-rules. Use this option to add your custom at-rules to this list.
|
|---|
| 11 | */
|
|---|
| 12 | bubble?: string[]
|
|---|
| 13 |
|
|---|
| 14 | /**
|
|---|
| 15 | * By default, plugin will unwrap only `@font-face`, `@keyframes`,
|
|---|
| 16 | * and `@document` at-rules. You can add your custom at-rules
|
|---|
| 17 | * to this list by this option.
|
|---|
| 18 | */
|
|---|
| 19 | unwrap?: string[]
|
|---|
| 20 |
|
|---|
| 21 | /**
|
|---|
| 22 | * By default, plugin will strip out any empty selector generated
|
|---|
| 23 | * by intermediate nesting levels. You can set this option to `true`
|
|---|
| 24 | * to preserve them.
|
|---|
| 25 | */
|
|---|
| 26 | preserveEmpty?: boolean
|
|---|
| 27 |
|
|---|
| 28 | /**
|
|---|
| 29 | * The plugin supports the SCSS custom at-rule `@at-root` which breaks
|
|---|
| 30 | * rule blocks out of their nested position. If you want, you can choose
|
|---|
| 31 | * a new custom name for this rule in your code.
|
|---|
| 32 | */
|
|---|
| 33 | rootRuleName?: string
|
|---|
| 34 | }
|
|---|
| 35 |
|
|---|
| 36 | type Nested = PluginCreator<Options>
|
|---|
| 37 | }
|
|---|
| 38 |
|
|---|
| 39 | declare const nested: nested.Nested
|
|---|
| 40 |
|
|---|
| 41 | export = nested
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.