@webflow/designer-extension-typings 2.0.24 → 2.0.25

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.
@@ -1,4 +1,6 @@
1
- Copyright (c) 2023 Webflow, Inc
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Webflow, Inc
2
4
 
3
5
  Permission is hereby granted, free of charge, to any person ob-
4
6
  taining a copy of this software and associated documentation
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webflow/designer-extension-typings",
3
- "version": "2.0.24",
4
- "license": "SEE LICENSE IN LICENSE",
3
+ "version": "2.0.25",
4
+ "license": "MIT",
5
5
  "description": "Typings for the Webflow Designer Extension API",
6
6
  "main": "",
7
7
  "scripts": {
package/styles.d.ts CHANGED
@@ -189,6 +189,14 @@ interface Style {
189
189
  * ```
190
190
  */
191
191
  removeAllVariableModes(options?: BreakpointAndPseudo): Promise<null>;
192
+ /**
193
+ * Retrieves the parent style for a combo class and otherwise returns null.
194
+ * @example
195
+ * ```ts
196
+ * const parentStyle = await myStyle.getParent();
197
+ * ```
198
+ */
199
+ getParent(): Promise<Style | null>;
192
200
  }
193
201
 
194
202
  type StyleId = string;