@elementor/editor-styles 0.3.2 → 0.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @elementor/editor-styles
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b18d1a6: Added pseudo selectors to css class selectors
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [6a3622a]
12
+ - @elementor/editor-props@0.5.1
13
+
3
14
  ## 0.3.2
4
15
 
5
16
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -21,4 +21,4 @@ type StyleDefinitionsMap = Record<StyleDefinition['id'], StyleDefinition>;
21
21
 
22
22
  declare function generateId(prefix?: string, existingIds?: string[]): string;
23
23
 
24
- export { type StyleDefinition, type StyleDefinitionID, type StyleDefinitionsMap, type StyleVariant, generateId };
24
+ export { type StyleDefinition, type StyleDefinitionID, type StyleDefinitionsMap, type StyleState, type StyleVariant, generateId };
package/dist/index.d.ts CHANGED
@@ -21,4 +21,4 @@ type StyleDefinitionsMap = Record<StyleDefinition['id'], StyleDefinition>;
21
21
 
22
22
  declare function generateId(prefix?: string, existingIds?: string[]): string;
23
23
 
24
- export { type StyleDefinition, type StyleDefinitionID, type StyleDefinitionsMap, type StyleVariant, generateId };
24
+ export { type StyleDefinition, type StyleDefinitionID, type StyleDefinitionsMap, type StyleState, type StyleVariant, generateId };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elementor/editor-styles",
3
3
  "description": "This package contains the styles model for the Elementor editor",
4
- "version": "0.3.2",
4
+ "version": "0.4.0",
5
5
  "private": false,
6
6
  "author": "Elementor Team",
7
7
  "homepage": "https://elementor.com/",
@@ -40,7 +40,7 @@
40
40
  "dev": "tsup --config=../../tsup.dev.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@elementor/editor-props": "0.5.0",
43
+ "@elementor/editor-props": "0.5.1",
44
44
  "@elementor/editor-responsive": "0.12.4"
45
45
  }
46
46
  }
package/src/types.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { type Props } from '@elementor/editor-props';
2
2
  import { type BreakpointId } from '@elementor/editor-responsive';
3
3
 
4
- type StyleState =
4
+ export type StyleState =
5
5
  | null
6
6
  | 'hover'
7
7
  | 'focus'