@wix/zero-config-implementation 1.90.0 → 1.92.0
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/dist/index.d.ts +17 -0
- package/dist/index.js +6050 -6017
- package/package.json +2 -2
- package/src/converters/to-editor-component.test.ts +150 -0
- package/src/converters/to-editor-component.ts +48 -3
- package/src/information-extractors/css/parse.ts +16 -0
- package/src/information-extractors/css/types.ts +17 -0
package/dist/index.d.ts
CHANGED
|
@@ -2459,6 +2459,23 @@ declare interface RegisteredCustomProperty {
|
|
|
2459
2459
|
* (`a | b | c`). Present only when `cssPropertyType` is `customEnum`.
|
|
2460
2460
|
*/
|
|
2461
2461
|
enumOptions?: string[];
|
|
2462
|
+
/**
|
|
2463
|
+
* The numeric range for the control, as raw descriptor strings. Validated at
|
|
2464
|
+
* conversion time. Meaningful only when `cssPropertyType` is `number`.
|
|
2465
|
+
*/
|
|
2466
|
+
range?: RegisteredPropertyRange;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
/**
|
|
2470
|
+
* `--min` / `--max` / `--step` descriptors an importer may emit inside an `@property`
|
|
2471
|
+
* block. The `--` prefix keeps them in the author namespace: browsers ignore descriptors
|
|
2472
|
+
* they don't know, so the CSS stays valid and CSS can't standardise these names out from
|
|
2473
|
+
* under us.
|
|
2474
|
+
*/
|
|
2475
|
+
declare interface RegisteredPropertyRange {
|
|
2476
|
+
min?: string;
|
|
2477
|
+
max?: string;
|
|
2478
|
+
step?: string;
|
|
2462
2479
|
}
|
|
2463
2480
|
|
|
2464
2481
|
/**
|