@designid/tokens 1.2.5 → 1.2.7
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/bin/build.js +129 -119
- package/bin/editor.js +204 -114
- package/bin/watch.js +134 -124
- package/package.json +1 -1
- package/types/platform-compositions.d.ts +18 -0
package/package.json
CHANGED
|
@@ -36,6 +36,24 @@ export interface PlatformComposition {
|
|
|
36
36
|
/** Token reference (e.g., '{foundation.color.primary}') */
|
|
37
37
|
token: string;
|
|
38
38
|
}>;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Optional group properties for media queries, parent selectors, etc.
|
|
42
|
+
* Used to wrap the composition in additional CSS contexts
|
|
43
|
+
*/
|
|
44
|
+
groupProperties?: {
|
|
45
|
+
/** Media query (e.g., '@media (min-width: 768px)') */
|
|
46
|
+
mediaQuery?: string;
|
|
47
|
+
|
|
48
|
+
/** Parent selector (e.g., '.dark-theme', '[data-theme="dark"]') */
|
|
49
|
+
parentSelector?: string;
|
|
50
|
+
|
|
51
|
+
/** Container query (e.g., '@container (min-width: 400px)') */
|
|
52
|
+
containerQuery?: string;
|
|
53
|
+
|
|
54
|
+
/** Custom at-rule (e.g., '@supports (display: grid)') */
|
|
55
|
+
customAtRule?: string;
|
|
56
|
+
};
|
|
39
57
|
}
|
|
40
58
|
|
|
41
59
|
/**
|