UNPKG

@grafana/ui

Version:
221 lines • 6.9 kB
{ "author": "Grafana Labs", "license": "Apache-2.0", "name": "@grafana/ui", "version": "12.3.1", "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": "./dist/cjs/index.cjs", "types": "./dist/types/index.d.ts", "module": "./dist/esm/index.mjs", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/types/index.d.ts", "default": "./dist/esm/index.mjs" }, "require": { "types": "./dist/types/index.d.ts", "default": "./dist/cjs/index.cjs" } }, "./unstable": { "import": { "types": "./dist/types/unstable.d.ts", "default": "./dist/esm/unstable.mjs" }, "require": { "types": "./dist/types/unstable.d.ts", "default": "./dist/cjs/unstable.cjs" } } }, "publishConfig": { "main": "./dist/cjs/index.cjs", "module": "./dist/esm/index.mjs", "types": "./dist/types/index.d.ts", "access": "public" }, "files": [ "./dist", "!./dist/storybook", "./README.md", "./CHANGELOG.md", "./LICENSE_APACHE2", "unstable" ], "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", "storybook:test": "test-storybook --url http://localhost:9001", "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.16", "@grafana/data": "12.3.1", "@grafana/e2e-selectors": "12.3.1", "@grafana/faro-web-sdk": "^1.13.2", "@grafana/i18n": "12.3.1", "@grafana/schema": "12.3.1", "@hello-pangea/dnd": "18.0.1", "@monaco-editor/react": "4.7.0", "@popperjs/core": "2.11.8", "@react-aria/dialog": "3.5.31", "@react-aria/focus": "3.21.2", "@react-aria/overlays": "3.30.0", "@react-aria/utils": "3.31.0", "@tanstack/react-virtual": "^3.5.1", "@types/jquery": "3.5.33", "@types/lodash": "4.17.20", "@types/react-table": "7.7.20", "calculate-size": "1.1.1", "classnames": "2.5.1", "clsx": "^2.1.1", "d3": "7.9.0", "date-fns": "4.1.0", "downshift": "^9.0.6", "hoist-non-react-statics": "3.3.2", "i18next": "^25.0.0", "i18next-browser-languagedetector": "^8.0.0", "immutable": "5.1.4", "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": "10.6.1", "prismjs": "1.30.0", "rc-cascader": "3.34.0", "rc-drawer": "7.3.0", "rc-picker": "4.11.3", "rc-slider": "11.1.9", "rc-tooltip": "6.4.0", "react-calendar": "^6.0.0", "react-colorful": "5.6.1", "react-custom-scrollbars-2": "4.5.0", "react-data-grid": "grafana/react-data-grid#a922856b5ede21d55db3fdffb6d38dc76bdc7c58", "react-dropzone": "14.3.8", "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.2", "react-table": "7.8.0", "react-transition-group": "4.4.5", "react-use": "17.6.0", "react-window": "1.8.11", "rxjs": "7.8.2", "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.32", "uuid": "11.1.0", "uwrap": "0.1.2" }, "devDependencies": { "@babel/core": "7.28.0", "@faker-js/faker": "^9.0.0", "@rollup/plugin-node-resolve": "16.0.1", "@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/test-runner": "^0.23.0", "@storybook/theming": "^8.6.2", "@testing-library/dom": "10.4.1", "@testing-library/jest-dom": "6.6.4", "@testing-library/react": "16.3.0", "@testing-library/user-event": "14.6.1", "@types/chance": "^1.1.7", "@types/common-tags": "^1.8.0", "@types/d3": "7.4.3", "@types/hoist-non-react-statics": "3.3.7", "@types/is-hotkey": "0.1.10", "@types/jest": "29.5.14", "@types/mock-raf": "1.0.6", "@types/node": "24.9.2", "@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.13", "common-tags": "1.8.2", "core-js": "3.44.0", "css-loader": "7.1.2", "csstype": "3.1.3", "esbuild": "0.25.8", "expose-loader": "5.0.1", "fs-extra": "^11.2.0", "mock-raf": "1.0.1", "msw": "^2.10.2", "msw-storybook-addon": "^2.0.5", "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-esbuild": "6.2.1", "rollup-plugin-node-externals": "^8.0.0", "rollup-plugin-svg-import": "3.0.0", "sass-loader": "16.0.5", "storybook": "^8.6.2", "style-loader": "4.0.0", "typescript": "5.9.2", "webpack": "5.101.0" }, "peerDependencies": { "react": "^18.0.0", "react-dom": "^18.0.0" } }