1 | import * as CSS from 'csstype';
|
---|
2 | import {NanoRenderer} from '../types/nano';
|
---|
3 |
|
---|
4 | type TLength = string | number;
|
---|
5 |
|
---|
6 | export interface EmmetAddon {
|
---|
7 | // Visual Formatting; //
|
---|
8 | /**
|
---|
9 | * Short for `position` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
10 | */
|
---|
11 | pos?: CSS.Property.Position;
|
---|
12 | /**
|
---|
13 | * Short for `top` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
14 | */
|
---|
15 | t?: CSS.Property.Top<TLength>;
|
---|
16 | /**
|
---|
17 | * Short for `right` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
18 | */
|
---|
19 | r?: CSS.Property.Right<TLength>;
|
---|
20 | /**
|
---|
21 | * Short for `bottom` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
22 | */
|
---|
23 | b?: CSS.Property.Bottom<TLength>;
|
---|
24 | /**
|
---|
25 | * Short for `left` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
26 | */
|
---|
27 | l?: CSS.Property.Left<TLength>;
|
---|
28 | /**
|
---|
29 | * Short for `z-index` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
30 | */
|
---|
31 | z?: CSS.Property.ZIndex;
|
---|
32 | /**
|
---|
33 | * Short for `float` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
34 | */
|
---|
35 | fl?: CSS.Property.Float;
|
---|
36 | /**
|
---|
37 | * Short for `clear` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
38 | */
|
---|
39 | cl?: CSS.Property.Clear;
|
---|
40 | /**
|
---|
41 | * Short for `display` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
42 | */
|
---|
43 | d?: CSS.Property.Display;
|
---|
44 | /**
|
---|
45 | * Short for `visibility` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
46 | */
|
---|
47 | v?: CSS.Property.Visibility;
|
---|
48 | /**
|
---|
49 | * Short for `overflow` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
50 | */
|
---|
51 | ov?: CSS.Property.Overflow;
|
---|
52 | /**
|
---|
53 | * Short for `overflow-x` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
54 | */
|
---|
55 | ovx?: CSS.Property.OverflowX;
|
---|
56 | /**
|
---|
57 | * Short for `overflow-y` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
58 | */
|
---|
59 | ovy?: CSS.Property.OverflowY;
|
---|
60 | /**
|
---|
61 | * Short for `overflow-style` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
62 | */
|
---|
63 | ovs?: CSS.Property.MsOverflowStyle;
|
---|
64 | /**
|
---|
65 | * Short for `zoom` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
66 | */
|
---|
67 | zm?: CSS.Property.Zoom;
|
---|
68 | /**
|
---|
69 | * Short for `clip` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
70 | */
|
---|
71 | cp?: CSS.Property.Clip;
|
---|
72 | /**
|
---|
73 | * Short for `resize` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
74 | */
|
---|
75 | rsz?: CSS.Property.Resize;
|
---|
76 | /**
|
---|
77 | * Short for `cursor` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
78 | */
|
---|
79 | cur?: CSS.Property.Cursor;
|
---|
80 | // Margin & Padding; //
|
---|
81 | /**
|
---|
82 | * Short for `margin` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
83 | */
|
---|
84 | m?: CSS.Property.Margin<TLength>;
|
---|
85 | /**
|
---|
86 | * Short for `margin-top` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
87 | */
|
---|
88 | mt?: CSS.Property.MarginTop<TLength>;
|
---|
89 | /**
|
---|
90 | * Short for `margin-right` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
91 | */
|
---|
92 | mr?: CSS.Property.MarginRight<TLength>;
|
---|
93 | /**
|
---|
94 | * Short for `margin-bottom` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
95 | */
|
---|
96 | mb?: CSS.Property.MarginBottom<TLength>;
|
---|
97 | /**
|
---|
98 | * Short for `margin-left` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
99 | */
|
---|
100 | ml?: CSS.Property.MarginLeft<TLength>;
|
---|
101 | /**
|
---|
102 | * Short for `padding` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
103 | */
|
---|
104 | p?: CSS.Property.Padding<TLength>;
|
---|
105 | /**
|
---|
106 | * Short for `paddin-top` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
107 | */
|
---|
108 | pt?: CSS.Property.PaddingTop<TLength>;
|
---|
109 | /**
|
---|
110 | * Short for `padding-right` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
111 | */
|
---|
112 | pr?: CSS.Property.PaddingRight<TLength>;
|
---|
113 | /**
|
---|
114 | * Short for `padding-bottom` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
115 | */
|
---|
116 | pb?: CSS.Property.PaddingBottom<TLength>;
|
---|
117 | /**
|
---|
118 | * Short for `padding-left` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
119 | */
|
---|
120 | pl?: CSS.Property.PaddingLeft<TLength>;
|
---|
121 | // Box Sizing; //
|
---|
122 | /**
|
---|
123 | * Short for `box-sizing` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
124 | */
|
---|
125 | bxz?: CSS.Property.BoxSizing;
|
---|
126 | /**
|
---|
127 | * Short for `box-shadow` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
128 | */
|
---|
129 | bxsh?: CSS.Property.BoxShadow;
|
---|
130 | /**
|
---|
131 | * Short for `width` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
132 | */
|
---|
133 | w?: CSS.Property.Width<TLength>;
|
---|
134 | /**
|
---|
135 | * Short for `height` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
136 | */
|
---|
137 | h?: CSS.Property.Height<TLength>;
|
---|
138 | /**
|
---|
139 | * Short for `max-width` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
140 | */
|
---|
141 | maw?: CSS.Property.MaxWidth<TLength>;
|
---|
142 | /**
|
---|
143 | * Short for `max-height` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
144 | */
|
---|
145 | mah?: CSS.Property.MaxHeight<TLength>;
|
---|
146 | /**
|
---|
147 | * Short for `min-width` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
148 | */
|
---|
149 | miw?: CSS.Property.MinWidth<TLength>;
|
---|
150 | /**
|
---|
151 | * Short for `min-height` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
152 | */
|
---|
153 | mih?: CSS.Property.MinHeight<TLength>;
|
---|
154 | // Font; //
|
---|
155 | /**
|
---|
156 | * Short for `font` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
157 | */
|
---|
158 | f?: CSS.Property.Font;
|
---|
159 | /**
|
---|
160 | * Short for `font-weight` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
161 | */
|
---|
162 | fw?: CSS.Property.FontWeight;
|
---|
163 | /**
|
---|
164 | * Short for `font-style` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
165 | */
|
---|
166 | fs?: CSS.Property.FontStyle;
|
---|
167 | /**
|
---|
168 | * Short for `font-variant` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
169 | */
|
---|
170 | fv?: CSS.Property.FontVariant;
|
---|
171 | /**
|
---|
172 | * Short for `font-size` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
173 | */
|
---|
174 | fz?: CSS.Property.FontSize<TLength>;
|
---|
175 | /**
|
---|
176 | * Short for `font-family` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
177 | */
|
---|
178 | ff?: CSS.Property.FontFamily;
|
---|
179 | /**
|
---|
180 | * Short for `font-stretch` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
181 | */
|
---|
182 | fst?: CSS.Property.FontStretch;
|
---|
183 |
|
---|
184 | // Text; //
|
---|
185 | /**
|
---|
186 | * Short for `vertical-align` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
187 | */
|
---|
188 | va?: CSS.Property.VerticalAlign<TLength>;
|
---|
189 | /**
|
---|
190 | * Short for `text-align` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
191 | */
|
---|
192 | ta?: CSS.Property.TextAlign;
|
---|
193 | /**
|
---|
194 | * Short for `text-decoration` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
195 | */
|
---|
196 | td?: CSS.Property.TextDecoration<TLength>;
|
---|
197 | /**
|
---|
198 | * Short for `text-emphasis` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
199 | */
|
---|
200 | te?: CSS.Property.TextEmphasis;
|
---|
201 | /**
|
---|
202 | * Short for `text-indent` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
203 | */
|
---|
204 | ti?: CSS.Property.TextIndent<TLength>;
|
---|
205 | /**
|
---|
206 | * Short for `text-justify` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
207 | */
|
---|
208 | tj?: CSS.Property.TextJustify;
|
---|
209 | /**
|
---|
210 | * Short for `text-transform` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
211 | */
|
---|
212 | tt?: CSS.Property.TextTransform;
|
---|
213 | /**
|
---|
214 | * Short for `text-shadow` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
215 | */
|
---|
216 | tsh?: CSS.Property.TextShadow;
|
---|
217 | /**
|
---|
218 | * Short for `line-height` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
219 | */
|
---|
220 | lh?: CSS.Property.LineHeight<TLength>;
|
---|
221 | /**
|
---|
222 | * Short for `letter-spacing` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
223 | */
|
---|
224 | lts?: CSS.Property.LetterSpacing<TLength>;
|
---|
225 | /**
|
---|
226 | * Short for `white-space` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
227 | */
|
---|
228 | whs?: CSS.Property.WhiteSpace;
|
---|
229 | /**
|
---|
230 | * Short for `word-break` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
231 | */
|
---|
232 | wob?: CSS.Property.WordBreak;
|
---|
233 | /**
|
---|
234 | * Short for `word-spacing` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
235 | */
|
---|
236 | wos?: CSS.Property.WordSpacing<TLength>;
|
---|
237 | /**
|
---|
238 | * Short for `word-wrap` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
239 | */
|
---|
240 | wow?: CSS.Property.WordWrap;
|
---|
241 | // Background; //
|
---|
242 | /**
|
---|
243 | * Short for `background` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
244 | */
|
---|
245 | bg?: CSS.Property.Background<TLength>;
|
---|
246 | /**
|
---|
247 | * Short for `background-color` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
248 | */
|
---|
249 | bgc?: CSS.Property.BackgroundColor;
|
---|
250 | /**
|
---|
251 | * Short for `background-image` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
252 | */
|
---|
253 | bgi?: CSS.Property.BackgroundImage;
|
---|
254 | /**
|
---|
255 | * Short for `background-repeat` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
256 | */
|
---|
257 | bgr?: CSS.Property.BackgroundRepeat;
|
---|
258 | /**
|
---|
259 | * Short for `background-attachment` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
260 | */
|
---|
261 | bga?: CSS.Property.BackgroundAttachment;
|
---|
262 | /**
|
---|
263 | * Short for `background-position` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
264 | */
|
---|
265 | bgp?: CSS.Property.BackgroundPosition<TLength>;
|
---|
266 | /**
|
---|
267 | * Short for `background-position-x` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
268 | */
|
---|
269 | bgpx?: CSS.Property.BackgroundPositionX<TLength>;
|
---|
270 | /**
|
---|
271 | * Short for `background-position-y` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
272 | */
|
---|
273 | bgpy?: CSS.Property.BackgroundPositionY<TLength>;
|
---|
274 | /**
|
---|
275 | * Short for `background-clip` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
276 | */
|
---|
277 | bgcp?: CSS.Property.BackgroundClip;
|
---|
278 | /**
|
---|
279 | * Short for `background-origin` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
280 | */
|
---|
281 | bgo?: CSS.Property.BackgroundOrigin;
|
---|
282 | /**
|
---|
283 | * Short for `background-size` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
284 | */
|
---|
285 | bgsz?: CSS.Property.BackgroundSize<TLength>;
|
---|
286 | // Color; //
|
---|
287 | /**
|
---|
288 | * Short for `color` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
289 | */
|
---|
290 | c?: CSS.Property.Color;
|
---|
291 | /**
|
---|
292 | * Short for `opacity` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
293 | */
|
---|
294 | op?: CSS.Globals | number;
|
---|
295 | // Generated Content; //
|
---|
296 | /**
|
---|
297 | * Short for `content` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
298 | */
|
---|
299 | ct?: CSS.Property.Content;
|
---|
300 | /**
|
---|
301 | * Short for `quotes` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
302 | */
|
---|
303 | q?: CSS.Property.Quotes;
|
---|
304 | /**
|
---|
305 | * Short for `counter-increment` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
306 | */
|
---|
307 | coi?: CSS.Property.CounterIncrement;
|
---|
308 | /**
|
---|
309 | * Short for `counter-reset` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
310 | */
|
---|
311 | cor?: CSS.Property.CounterReset;
|
---|
312 | // Outline; //
|
---|
313 | /**
|
---|
314 | * Short for `outline` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
315 | */
|
---|
316 | ol?: CSS.Property.Outline<TLength>;
|
---|
317 | /**
|
---|
318 | * Short for `outline-offset` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
319 | */
|
---|
320 | olo?: CSS.Property.OutlineOffset<TLength>;
|
---|
321 | /**
|
---|
322 | * Short for `outline-width` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
323 | */
|
---|
324 | olw?: CSS.Property.OutlineWidth<TLength>;
|
---|
325 | /**
|
---|
326 | * Short for `outline-style` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
327 | */
|
---|
328 | ols?: CSS.Property.OutlineStyle;
|
---|
329 | /**
|
---|
330 | * Short for `outline-color` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
331 | */
|
---|
332 | olc?: CSS.Property.OutlineColor;
|
---|
333 | // Tables; //
|
---|
334 | /**
|
---|
335 | * Short for `table-layout` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
336 | */
|
---|
337 | tbl?: CSS.Property.TableLayout;
|
---|
338 | /**
|
---|
339 | * Short for `caption-side` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
340 | */
|
---|
341 | cps?: CSS.Property.CaptionSide;
|
---|
342 | /**
|
---|
343 | * Short for `empty-cells` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
344 | */
|
---|
345 | ec?: CSS.Property.EmptyCells;
|
---|
346 | // Border;
|
---|
347 | /**
|
---|
348 | * Short for `border` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
349 | */
|
---|
350 | bd?: CSS.Property.Border<TLength>;
|
---|
351 | /**
|
---|
352 | * Short for `position` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
353 | */
|
---|
354 | bdcl?: CSS.Property.BorderCollapse;
|
---|
355 | /**
|
---|
356 | * Short for `position` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
357 | */
|
---|
358 | bdc?: CSS.Property.BorderColor;
|
---|
359 | /**
|
---|
360 | * Short for `position` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
361 | */
|
---|
362 | bdi?: CSS.Property.BorderImage;
|
---|
363 | /**
|
---|
364 | * Short for `border-style` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
365 | */
|
---|
366 | bds?: CSS.Property.BorderStyle;
|
---|
367 | /**
|
---|
368 | * Short for `border-width` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
369 | */
|
---|
370 | bdw?: CSS.Property.BorderWidth<TLength>;
|
---|
371 | /**
|
---|
372 | * Short for `border-top` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
373 | */
|
---|
374 | bdt?: CSS.Property.BorderTop<TLength>;
|
---|
375 | /**
|
---|
376 | * Short for `border-top-width` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
377 | */
|
---|
378 | bdtw?: CSS.Property.BorderTopWidth<TLength>;
|
---|
379 | /**
|
---|
380 | * Short for `border-top-style` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
381 | */
|
---|
382 | bdts?: CSS.Property.BorderTopStyle;
|
---|
383 | /**
|
---|
384 | * Short for `border-top-color` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
385 | */
|
---|
386 | bdtc?: CSS.Property.BorderTopColor;
|
---|
387 | /**
|
---|
388 | * Short for `border-right` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
389 | */
|
---|
390 | bdr?: CSS.Property.BorderRight<TLength>;
|
---|
391 | /**
|
---|
392 | * Short for `border-right-width` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
393 | */
|
---|
394 | bdrw?: CSS.Property.BorderRightWidth<TLength>;
|
---|
395 | /**
|
---|
396 | * Short for `border-right-style` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
397 | */
|
---|
398 | bdrst?: CSS.Property.BorderRightStyle;
|
---|
399 | /**
|
---|
400 | * Short for `border-right-color` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
401 | */
|
---|
402 | bdrc?: CSS.Property.BorderRightColor;
|
---|
403 | /**
|
---|
404 | * Short for `border-bottom` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
405 | */
|
---|
406 | bdb?: CSS.Property.BorderBottom<TLength>;
|
---|
407 | /**
|
---|
408 | * Short for `border-bottom-width` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
409 | */
|
---|
410 | bdbw?: CSS.Property.BorderBottomWidth<TLength>;
|
---|
411 | /**
|
---|
412 | * Short for `border-bottom-style` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
413 | */
|
---|
414 | bdbs?: CSS.Property.BorderBottomStyle;
|
---|
415 | /**
|
---|
416 | * Short for `border-bottom-color` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
417 | */
|
---|
418 | bdbc?: CSS.Property.BorderBottomColor;
|
---|
419 | /**
|
---|
420 | * Short for `border-left` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
421 | */
|
---|
422 | bdl?: CSS.Property.BorderLeft<TLength>;
|
---|
423 | /**
|
---|
424 | * Short for `border-left-width` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
425 | */
|
---|
426 | bdlw?: CSS.Property.BorderLeftWidth<TLength>;
|
---|
427 | /**
|
---|
428 | * Short for `border-left-style` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
429 | */
|
---|
430 | bdls?: CSS.Property.BorderLeftStyle;
|
---|
431 | /**
|
---|
432 | * Short for `border-left-color` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
433 | */
|
---|
434 | bdlc?: CSS.Property.BorderLeftColor;
|
---|
435 | /**
|
---|
436 | * Short for `border-radius` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
437 | */
|
---|
438 | bdrs?: CSS.Property.BorderRadius<TLength>;
|
---|
439 | /**
|
---|
440 | * Short for `border-top-left-radius` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
441 | */
|
---|
442 | bdtlrs?: CSS.Property.BorderTopLeftRadius<TLength>;
|
---|
443 | /**
|
---|
444 | * Short for `border-top-right-radius` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
445 | */
|
---|
446 | bdtrrs?: CSS.Property.BorderTopRightRadius<TLength>;
|
---|
447 | /**
|
---|
448 | * Short for `border-bottom-right-radius` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
449 | */
|
---|
450 | bdbrrs?: CSS.Property.BorderBottomRightRadius<TLength>;
|
---|
451 | /**
|
---|
452 | * Short for `border-bottom-left-radius` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
453 | */
|
---|
454 | bdblrs?: CSS.Property.BorderBottomLeftRadius<TLength>;
|
---|
455 | // Lists; //
|
---|
456 | /**
|
---|
457 | * Short for `list-style` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
458 | */
|
---|
459 | lis?: CSS.Property.ListStyle;
|
---|
460 | /**
|
---|
461 | * Short for `list-style-position` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
462 | */
|
---|
463 | lisp?: CSS.Property.ListStylePosition;
|
---|
464 | /**
|
---|
465 | * Short for `list-style-type` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
466 | */
|
---|
467 | list?: CSS.Property.ListStyleType;
|
---|
468 | /**
|
---|
469 | * Short for `list-style-image` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
470 | */
|
---|
471 | lisi?: CSS.Property.ListStyleImage;
|
---|
472 | // Flexbox Parent/Child Properties; //
|
---|
473 | /**
|
---|
474 | * Short for `align-content` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
475 | */
|
---|
476 | ac?: CSS.Property.AlignContent;
|
---|
477 | /**
|
---|
478 | * Short for `align-items` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
479 | */
|
---|
480 | ai?: CSS.Property.AlignItems;
|
---|
481 | /**
|
---|
482 | * Short for `align-self` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
483 | */
|
---|
484 | as?: CSS.Property.AlignSelf;
|
---|
485 | /**
|
---|
486 | * Short for `justify-content` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
487 | */
|
---|
488 | jc?: CSS.Property.JustifyContent;
|
---|
489 | /**
|
---|
490 | * Short for `flex` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
491 | */
|
---|
492 | fx?: CSS.Property.Flex<TLength>;
|
---|
493 | /**
|
---|
494 | * Short for `flex-basis` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
495 | */
|
---|
496 | fxb?: CSS.Property.FlexBasis<TLength>;
|
---|
497 | /**
|
---|
498 | * Short for `flex-direction` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
499 | */
|
---|
500 | fxd?: CSS.Property.FlexDirection;
|
---|
501 | /**
|
---|
502 | * Short for `flex-flow` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
503 | */
|
---|
504 | fxf?: CSS.Property.FlexFlow;
|
---|
505 | /**
|
---|
506 | * Short for `flex-grow` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
507 | */
|
---|
508 | fxg?: CSS.Globals | number;
|
---|
509 | /**
|
---|
510 | * Short for `position` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
511 | */
|
---|
512 | fxs?: CSS.Globals | number;
|
---|
513 | /**
|
---|
514 | * Short for `flex-wrap` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
515 | */
|
---|
516 | fxw?: CSS.Property.FlexWrap;
|
---|
517 | /**
|
---|
518 | * Short for `order` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
519 | */
|
---|
520 | ord?: CSS.Globals | number;
|
---|
521 | // CSS Grid Layout; //
|
---|
522 | /**
|
---|
523 | * Short for `columns` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
524 | */
|
---|
525 | colm?: CSS.Property.Columns<TLength>;
|
---|
526 | /**
|
---|
527 | * Short for `column-count` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
528 | */
|
---|
529 | colmc?: CSS.Property.ColumnCount;
|
---|
530 | /**
|
---|
531 | * Short for `column-fill` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
532 | */
|
---|
533 | colmf?: CSS.Property.ColumnFill;
|
---|
534 | /**
|
---|
535 | * Short for `column-gap` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
536 | */
|
---|
537 | colmg?: CSS.Property.ColumnGap<TLength>;
|
---|
538 | /**
|
---|
539 | * Short for `column-rule` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
540 | */
|
---|
541 | colmr?: CSS.Property.ColumnRule<TLength>;
|
---|
542 | /**
|
---|
543 | * Short for `column-rule-color` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
544 | */
|
---|
545 | colmrc?: CSS.Property.ColumnRuleColor;
|
---|
546 | /**
|
---|
547 | * Short for `column-rule-style` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
548 | */
|
---|
549 | colmrs?: CSS.Property.ColumnRuleStyle;
|
---|
550 | /**
|
---|
551 | * Short for `column-rule-width` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
552 | */
|
---|
553 | colmrw?: CSS.Property.ColumnRuleWidth<TLength>;
|
---|
554 | /**
|
---|
555 | * Short for `column-span` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
556 | */
|
---|
557 | colms?: CSS.Property.ColumnSpan;
|
---|
558 | /**
|
---|
559 | * Short for `column-width` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
560 | */
|
---|
561 | colmw?: CSS.Property.ColumnWidth<TLength>;
|
---|
562 | // CSS Transitions; //
|
---|
563 | /**
|
---|
564 | * Short for `transform` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
565 | */
|
---|
566 | trf?: CSS.Property.Transform;
|
---|
567 | /**
|
---|
568 | * Short for `transform-origin` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
569 | */
|
---|
570 | trfo?: CSS.Property.TransformOrigin<TLength>;
|
---|
571 | /**
|
---|
572 | * Short for `transform-style` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
573 | */
|
---|
574 | trfs?: CSS.Property.TransformStyle;
|
---|
575 | /**
|
---|
576 | * Short for `transition` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
577 | */
|
---|
578 | trs?: CSS.Property.Transition;
|
---|
579 | /**
|
---|
580 | * Short for `transition-delay` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
581 | */
|
---|
582 | trsde?: CSS.Globals | number;
|
---|
583 | /**
|
---|
584 | * Short for `transition-duration` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
585 | */
|
---|
586 | trsdu?: CSS.Globals | number;
|
---|
587 | /**
|
---|
588 | * Short for `transition-property` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
589 | */
|
---|
590 | trsp?: CSS.Property.TransitionProperty;
|
---|
591 | /**
|
---|
592 | * Short for `transition-timing-function` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
593 | */
|
---|
594 | trstf?: CSS.Property.TransitionTimingFunction;
|
---|
595 | // Others; //
|
---|
596 | /**
|
---|
597 | * Short for `backface-visibility` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
598 | */
|
---|
599 | bfv?: CSS.Property.BackfaceVisibility;
|
---|
600 | /**
|
---|
601 | * Short for `text-overflow` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
602 | */
|
---|
603 | tov?: CSS.Property.TextOverflow;
|
---|
604 | /**
|
---|
605 | * Short for `orientation` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
606 | */
|
---|
607 | ori?: CSS.AtRule.Orientation;
|
---|
608 | /**
|
---|
609 | * Short for `user-select` property. Requires [`atoms` addon](https://github.com/streamich/nano-css/blob/master/docs/atoms.md).
|
---|
610 | */
|
---|
611 | us?: CSS.Property.UserSelect;
|
---|
612 | }
|
---|
613 |
|
---|
614 | export function addon(nano: NanoRenderer);
|
---|