dothtml-interfaces 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/i-dot-css.d.ts +6 -15
package/package.json
CHANGED
package/src/i-dot-css.d.ts
CHANGED
|
@@ -1021,21 +1021,21 @@ interface IDotcssProp{
|
|
|
1021
1021
|
flexBasisVMax?: number;
|
|
1022
1022
|
flexBasisVMin?: number;
|
|
1023
1023
|
|
|
1024
|
-
//url
|
|
1024
|
+
//url:
|
|
1025
1025
|
backgroundImage?: BackgroundImageFormat;
|
|
1026
1026
|
borderImage?: BackgroundImageFormat;
|
|
1027
1027
|
listStyleImage?: BackgroundImageFormat;
|
|
1028
1028
|
content?: BasicCommonValues|Url;
|
|
1029
1029
|
|
|
1030
|
-
//complex
|
|
1031
|
-
transform?: BasicCommonValues|
|
|
1032
|
-
filter?:
|
|
1033
|
-
backdropFilter?:
|
|
1030
|
+
//complex:
|
|
1031
|
+
transform?: BasicCommonValues|ITransformationContext;
|
|
1032
|
+
filter?: IFilterContext;
|
|
1033
|
+
backdropFilter?: IFilterContext;
|
|
1034
1034
|
|
|
1035
1035
|
//misc numeric:
|
|
1036
1036
|
opacity?: number|string;
|
|
1037
1037
|
|
|
1038
|
-
//misc
|
|
1038
|
+
//misc:
|
|
1039
1039
|
all?: BasicCommonValues;
|
|
1040
1040
|
appearance?: AppearanceValues;
|
|
1041
1041
|
aspectRatio?: string; // TODO?: better typing on this. Low priority.
|
|
@@ -1284,11 +1284,6 @@ export interface ShowParams{
|
|
|
1284
1284
|
animationStyle?: "ease",
|
|
1285
1285
|
}
|
|
1286
1286
|
|
|
1287
|
-
export interface TransformationBuilder {
|
|
1288
|
-
// TODO: it would be cool if this didn't have to return anything, and the trns parameter that's passed in would just retain a memory of the transformations.
|
|
1289
|
-
(trns: ITransformationContext): ITransformationContext|string;
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
1287
|
// TODO: add tests for these. Especially the 2-parameter ones.
|
|
1293
1288
|
export type ITransformationContext = {
|
|
1294
1289
|
// a, b, c, d, tx, ty
|
|
@@ -1448,10 +1443,6 @@ export type ITransformationContext = {
|
|
|
1448
1443
|
perspectiveVMin?: number;
|
|
1449
1444
|
}
|
|
1450
1445
|
|
|
1451
|
-
export interface FilterBuilder{
|
|
1452
|
-
(filtCtx: IFilterContext): IFilterContext|string;
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
1446
|
type IFilterContext = {
|
|
1456
1447
|
// url(commonfilters.svg#filter); // Don't know how this works yet.
|
|
1457
1448
|
blur?: NumericLength;
|