@theme-registry/refract-css 0.1.8 → 0.1.10

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.
@@ -107,6 +107,8 @@ export declare const lowerGlobalsGroups: <TBreakpoint extends string>(ruleSets:
107
107
  * consistently with `theme.classes.containers.context.<name>`.
108
108
  */
109
109
  export declare const deriveContainerContextNodes: (containers: Record<string, ContainerModel> | undefined, containerClass: (name: string) => string) => CssRuleNode[];
110
+ /** state name → its CSS selector suffix. Exported so the preview can build pinnable twins. */
111
+ export declare const CSS_STATE_SELECTORS: Record<string, string>;
110
112
  /** The states the CSS adapter can render (the validation set for recipe normalization). */
111
113
  export declare const CSS_KNOWN_STATES: ReadonlyArray<string>;
112
114
  export type LowerRecipeGroupOptions<TBreakpoint extends string = string> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theme-registry/refract-css",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "The CSS output adapter for @theme-registry/refract — lowers a ThemeModel to CSS custom properties + class rules.",
5
5
  "author": {
6
6
  "name": "Petyo Stoyanov",
@@ -32,7 +32,7 @@
32
32
  "./package.json": "./package.json"
33
33
  },
34
34
  "peerDependencies": {
35
- "@theme-registry/refract": "^0.1.8"
35
+ "@theme-registry/refract": "^0.1.10"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@rollup/plugin-terser": "^0.4.4",
@@ -42,8 +42,8 @@
42
42
  "rollup-plugin-peer-deps-external": "^2.2.4",
43
43
  "typescript": "^5.4.2",
44
44
  "vitest": "^4.1.10",
45
- "@theme-registry/refract": "^0.1.8",
46
- "@theme-registry/theme-fixtures": "^0.0.0"
45
+ "@theme-registry/theme-fixtures": "^0.0.0",
46
+ "@theme-registry/refract": "^0.1.10"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "rollup -c",