0.103.3 • Published 3 months ago
@siteimprove/alfa-style v0.103.3
Package @siteimprove/alfa-style
Description
This package implements support for CSS properties.
Scaffolding
To avoid circular dependencies, the package is organised as follows (from bottom to top) (all paths are relative to src/
) :
longhand.ts
: defines the basic class to model longhand properties;property/*.ts
(part of): individual longhand properties, one per file;longhands.ts
: wraps all longhand properties in a nice bundle and export convenient types;shorthand.ts
: defines the basic class to model shorthand properties, depends on the names of longhands as defined in previous file;property/*.ts
(part of): individual shorthand properties, one per file;shorthands.ts
: wraps all shorthand properties in a nice bundle and export convenient types;style.ts
: expose the actual API to manipulate the properties.
Development
To add a new property, create a file in src/property
to define the property, then import the file and add the property to the const
in longhands.ts
or shorthands.ts
.
0.99.0
5 months ago
0.95.0
9 months ago
0.94.1
9 months ago
0.96.0
8 months ago
0.97.0
8 months ago
0.98.0
6 months ago
0.94.0
9 months ago
0.103.0
5 months ago
0.103.1
4 months ago
0.103.2
3 months ago
0.103.3
3 months ago
0.100.0
5 months ago
0.101.0
5 months ago
0.100.1
5 months ago
0.102.0
5 months ago
0.93.6
10 months ago
0.93.7
10 months ago
0.93.8
10 months ago
0.93.2
10 months ago
0.93.0
10 months ago
0.93.1
10 months ago
0.92.0
11 months ago
0.91.2
11 months ago
0.91.0
11 months ago
0.90.1
11 months ago