@webstudio-is/css-engine 0.167.0 → 0.173.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.
@@ -1,5 +1,3 @@
1
- import { StyleRule } from "./rules";
2
- import { StyleSheet, type CssRule } from "./style-sheet";
1
+ import { StyleSheet } from "./style-sheet";
3
2
  export declare class StyleSheetRegular extends StyleSheet {
4
- addStyleRule(rule: CssRule, selectorText: string): StyleRule;
5
3
  }
@@ -1,11 +1,6 @@
1
- import type { Style } from "../schema";
2
1
  import { MediaRule, MixinRule, NestingRule, PlaintextRule, type FontFaceOptions, type MediaRuleOptions } from "./rules";
3
2
  import { StyleElement } from "./style-element";
4
3
  import type { TransformValue } from "./to-value";
5
- export type CssRule = {
6
- style: Style;
7
- breakpoint?: string;
8
- };
9
4
  export declare class StyleSheet {
10
5
  #private;
11
6
  nestingRules: Map<string, NestingRule>;
@@ -1,6 +1,4 @@
1
- import type { StyleProperty } from "../schema";
2
1
  /**
3
2
  * Hyphenates a camelcased CSS property name
4
3
  */
5
4
  export declare const hyphenateProperty: (property: string) => string;
6
- export declare const toProperty: (property: StyleProperty) => string;
@@ -0,0 +1 @@
1
+ export declare const cssWideKeywords: Set<string>;
@@ -1,3 +1,4 @@
1
1
  export * from "./core/index";
2
2
  export * from "./schema";
3
+ export * from "./css";
3
4
  export type { Property as __Property, Unit as __Unit, } from "./__generated__/types";