Files
webstudio/packages/css-data/package.json
T
Jaya Krishna Namburu 99851a40d6 feat: Add tooltips for individual properties in style panels by the descriptions generated by ai (#3964)
## Description

This PR adds tooltips for all the layer based sections in the transform
property. The rest of the properties already have their tooltips managed
by the `PropertyName` component. I have taken our previous tooltips as
based and used a AI suggested one and proof read those. So, please let
me know if there are any suggestions to change.

## Steps for reproduction

- verify tooltips for `translate`, `scale`, `rotate` and `skew`,
`box-shadow`, `text-shadow`, `drop-shadow` properties.

## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [x] made a self-review

## Before merging

- [x] tested locally and on preview environment (preview dev login:
5de6)
2024-09-03 21:23:57 +05:30

52 lines
1.6 KiB
JSON

{
"name": "@webstudio-is/css-data",
"version": "0.0.0",
"description": "CSS Data",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"type": "module",
"scripts": {
"typecheck": "tsc",
"build:html.css": "tsx ./bin/html.css.ts && prettier --write ./src/__generated__/html.ts",
"build:mdn-data": "tsx ./bin/mdn-data.ts ./src/__generated__ && prettier --write \"./src/__generated__/\" \"../css-engine/src/__generated__/\"",
"build:descriptions": "tsx ./bin/property-value-descriptions.ts && prettier --write ./src/__generated__/property-value-descriptions.ts",
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
},
"bin": {
"css-to-ws": "./bin/css-to-ws.ts"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/css-tree": "^2.3.1",
"@types/node": "^20.12.7",
"@webstudio-is/jest-config": "workspace:*",
"@webstudio-is/react-sdk": "workspace:*",
"@webstudio-is/tsconfig": "workspace:*",
"html-tags": "^4.0.0",
"mdn-data": "2.8.0",
"type-fest": "^4.24.0",
"typescript": "5.5.2",
"zod": "^3.22.4"
},
"peerDependencies": {
"zod": "^3.19.1"
},
"exports": {
"webstudio": "./src/index.ts"
},
"license": "AGPL-3.0-or-later",
"private": true,
"sideEffects": false,
"dependencies": {
"@unocss/core": "^0.61.2",
"@unocss/preset-uno": "^0.61.2",
"@webstudio-is/css-engine": "workspace:*",
"change-case": "^5.4.4",
"colord": "^2.9.3",
"css-tree": "^2.3.1",
"openai": "^3.2.1",
"p-retry": "^6.2.0",
"warn-once": "^0.1.1"
}
}