mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-04 22:31:33 +09:00
Here added support for local styles with ws:style prop. It accepts the
result of css`` tagged template which enables formatter support.
Migrated vimeo to new template. Need to check all styles are rewritten
accurately.
```js
<$.Box
ws:style={css`
font-size: 10px;
`}
></$.Box>
```
29 lines
740 B
JSON
29 lines
740 B
JSON
{
|
|
"name": "@webstudio-is/template",
|
|
"version": "0.0.0-webstudio-version",
|
|
"description": "Webstudio templates based on React",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"webstudio": "./src/index.ts"
|
|
},
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"typecheck": "tsc",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@webstudio-is/css-data": "workspace:*",
|
|
"@webstudio-is/css-engine": "workspace:*",
|
|
"@webstudio-is/sdk": "workspace:*",
|
|
"react": "18.3.0-canary-14898b6a9-20240318"
|
|
},
|
|
"devDependencies": {
|
|
"@webstudio-is/tsconfig": "workspace:*",
|
|
"vitest": "^2.1.8"
|
|
}
|
|
}
|