Files
hyperframes/packages/studio/package-subpaths.json
Miguel Ángel d1048cf98f fix(studio): ship component styles as their own stylesheet for embedders (#4393)
* fix(studio): ship component styles as their own stylesheet for embedders

Studio's component rules (timeline clips, loaders, range inputs, toasts and
the rest) lived only in the app sheet, so a page that embeds Studio's
components with theme.css got unstyled clips and dark-on-dark labels. They
move unchanged into components.css, exported as
@hyperframes/studio/components.css; studio.css keeps the app shell and
imports it, so Studio's compiled CSS has the same rules.

* test(studio): read moved component rules from components.css

* test(studio): catch class rules nested in the app sheet's layers and media blocks
2026-09-24 01:35:04 -04:00

42 lines
1.1 KiB
JSON

{
"package": "@hyperframes/studio",
"subpaths": {
".": {
"source": "./src/index.ts",
"runtime": "./dist/index.js",
"types": "./dist/index.d.ts",
"environments": ["browser"]
},
"./tailwind-preset": {
"source": "./src/styles/tailwind-preset.ts",
"runtime": "./dist/styles/tailwind-preset.js",
"types": "./dist/styles/tailwind-preset.d.ts",
"environments": ["bun", "node"]
},
"./theme.css": {
"source": "./src/styles/theme.css",
"runtime": "./src/styles/theme.css",
"types": null,
"environments": ["browser"]
},
"./components.css": {
"source": "./src/styles/components.css",
"runtime": "./src/styles/components.css",
"types": null,
"environments": ["browser"]
},
"./styles.css": {
"source": "./src/styles/studio.css",
"runtime": "./dist/styles.css",
"types": null,
"environments": ["browser"]
},
"./package.json": {
"source": "./package.json",
"runtime": "./package.json",
"types": null,
"environments": ["browser", "bun", "node"]
}
}
}