{ "author": "Grafana Labs", "license": "Apache-2.0", "name": "@grafana/ui", "version": "11.6.0-pre", "description": "Grafana Components Library", "keywords": [ "grafana", "react", "react-component", "typescript" ], "sideEffects": false, "repository": { "type": "git", "url": "http://github.com/grafana/grafana.git", "directory": "packages/grafana-ui" }, "main": "src/index.ts", "types": "src/index.ts", "publishConfig": { "main": "./dist/cjs/index.cjs", "module": "./dist/esm/index.mjs", "types": "./dist/cjs/index.d.cts", "access": "public" }, "files": [ "./dist", "!./dist/storybook", "./README.md", "./CHANGELOG.md", "./LICENSE_APACHE2" ], "scripts": { "build": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.ts --configPlugin esbuild", "bundle": "rollup -c rollup.config.ts --configPlugin esbuild", "clean": "rimraf ./dist ./compiled ./unstable ./package.tgz", "storybook": "storybook dev -p 9001 -c .storybook --no-open", "storybook:build": "storybook build -o ./dist/storybook -c .storybook", "typecheck": "tsc --emitDeclarationOnly false --noEmit", "prepack": "cp package.json package.json.bak && ALIAS_PACKAGE_NAME=unstable node ../../scripts/prepare-npm-package.js", "postpack": "mv package.json.bak package.json && rimraf ./unstable" }, "browserslist": [ "defaults", "not IE 11" ], "dependencies": { "@emotion/css": "11.13.5", "@emotion/react": "11.14.0", "@emotion/serialize": "1.3.3", "@floating-ui/react": "0.27.5", "@grafana/data": "11.6.0-pre", "@grafana/e2e-selectors": "11.6.0-pre", "@grafana/faro-web-sdk": "^1.13.2", "@grafana/schema": "11.6.0-pre", "@hello-pangea/dnd": "17.0.0", "@leeoniya/ufuzzy": "1.0.18", "@monaco-editor/react": "4.6.0", "@popperjs/core": "2.11.8", "@react-aria/dialog": "3.5.21", "@react-aria/focus": "3.19.1", "@react-aria/overlays": "3.25.0", "@react-aria/utils": "3.27.0", "@tanstack/react-virtual": "^3.5.1", "@types/jquery": "3.5.32", "@types/lodash": "4.17.15", "@types/react-table": "7.7.20", "calculate-size": "1.1.1", "classnames": "2.5.1", "d3": "7.9.0", "date-fns": "4.1.0", "downshift": "^9.0.6", "hoist-non-react-statics": "3.3.2", "i18next": "^24.0.0", "i18next-browser-languagedetector": "^8.0.0", "immutable": "5.0.3", "is-hotkey": "0.2.0", "jquery": "3.7.1", "lodash": "4.17.21", "micro-memoize": "^4.1.2", "moment": "2.30.1", "monaco-editor": "0.34.1", "ol": "7.4.0", "prismjs": "1.29.0", "rc-cascader": "3.33.0", "rc-drawer": "7.2.0", "rc-picker": "4.9.2", "rc-slider": "11.1.8", "rc-tooltip": "6.4.0", "react-calendar": "^5.1.0", "react-colorful": "5.6.1", "react-custom-scrollbars-2": "4.5.0", "react-dropzone": "14.3.5", "react-highlight-words": "0.21.0", "react-hook-form": "^7.49.2", "react-i18next": "^15.0.0", "react-inlinesvg": "4.2.0", "react-loading-skeleton": "3.5.0", "react-router-dom": "5.3.4", "react-router-dom-v5-compat": "^6.26.1", "react-select": "5.10.0", "react-table": "7.8.0", "react-transition-group": "4.4.5", "react-use": "17.6.0", "react-window": "1.8.11", "rxjs": "7.8.1", "slate": "0.47.9", "slate-plain-serializer": "0.7.13", "slate-react": "0.22.10", "tinycolor2": "1.6.0", "tslib": "2.8.1", "uplot": "1.6.31", "uuid": "11.0.5" }, "devDependencies": { "@babel/core": "7.26.9", "@faker-js/faker": "^9.0.0", "@grafana/tsconfig": "^2.0.0", "@rollup/plugin-node-resolve": "16.0.0", "@storybook/addon-a11y": "^8.6.2", "@storybook/addon-actions": "^8.6.2", "@storybook/addon-docs": "^8.6.2", "@storybook/addon-essentials": "^8.6.2", "@storybook/addon-storysource": "^8.6.2", "@storybook/addon-webpack5-compiler-swc": "^2.1.0", "@storybook/blocks": "^8.6.2", "@storybook/components": "^8.6.2", "@storybook/core-events": "^8.6.2", "@storybook/manager-api": "^8.6.2", "@storybook/mdx2-csf": "1.1.0", "@storybook/preset-scss": "1.0.3", "@storybook/preview-api": "^8.6.2", "@storybook/react": "^8.6.2", "@storybook/react-webpack5": "^8.6.2", "@storybook/theming": "^8.6.2", "@testing-library/dom": "10.4.0", "@testing-library/jest-dom": "6.6.3", "@testing-library/react": "16.2.0", "@testing-library/user-event": "14.6.1", "@types/chance": "1.1.6", "@types/common-tags": "^1.8.0", "@types/d3": "7.4.3", "@types/hoist-non-react-statics": "3.3.6", "@types/is-hotkey": "0.1.10", "@types/jest": "29.5.14", "@types/mock-raf": "1.0.6", "@types/node": "22.12.0", "@types/prismjs": "1.26.5", "@types/react": "18.3.18", "@types/react-color": "3.0.13", "@types/react-dom": "18.3.5", "@types/react-highlight-words": "0.20.0", "@types/react-transition-group": "4.4.12", "@types/react-window": "1.8.8", "@types/slate": "0.47.11", "@types/slate-plain-serializer": "0.7.5", "@types/slate-react": "0.22.9", "@types/tinycolor2": "1.4.6", "@types/uuid": "10.0.0", "chance": "1.1.12", "common-tags": "1.8.2", "core-js": "3.40.0", "css-loader": "7.1.2", "csstype": "3.1.3", "esbuild": "0.25.0", "expose-loader": "5.0.0", "fs-extra": "^11.2.0", "mock-raf": "1.0.1", "process": "^0.11.10", "react": "18.3.1", "react-dom": "18.3.1", "react-select-event": "^5.1.0", "rimraf": "6.0.1", "rollup": "^4.22.4", "rollup-plugin-copy": "3.5.0", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-esbuild": "6.2.0", "rollup-plugin-node-externals": "^8.0.0", "rollup-plugin-svg-import": "3.0.0", "sass-loader": "16.0.4", "storybook": "^8.6.2", "style-loader": "4.0.0", "typescript": "5.7.3", "webpack": "5.97.1" }, "peerDependencies": { "react": "^18.0.0", "react-dom": "^18.0.0" } }