mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:59:35 +08:00

* Changes galore * Freedom 🗽 * Add feature flag * Latest changes * Basic auto cell type * Partially working bar-gauge * Brokenish but whatevs * Include the toggle doc * TableNG: Context menu (#94094) * feat(table-ng): context menu init commit * betterer * feat(table-ng): re-use contextmenu component * fix(table-ng): close context menu issue * TableNG: Sorting columns (#94200) feat(table-ng): sorting column * fix feature toggle conflict * TableNG: Sorting with custom table header (#95351) * TableNG: Header Toggle (#95310) * TableNG: Multi-column sorting (#95395) feat(table-ng): multi-sorting * TableNG: Column width options (#95426) * feat(table-ng): column width * mouse handle drag event * move resizing task * TableNG: Fix icon sorting direction (#95653) fix(table-ng): sorting icon direction * TableNG: Show table footer (#95313) * TableNG: Show table footer * Revert betterer * Update betterer * Incorporate reducer calculations into footer * Update imports in FooterRow * Use getFooterValue for summary cell render * TableNG: Min column width (#95657) * feat(table-ng): min column width * feat(table-ng): set a min width constant * TableNG: Column alignment (#95679) * feat(table-ng): column alignment * cleaning * feat(table-ng): header cell alignment * optimizations * feat(table-ng): footer cell alignment * calc counter * TableNG: use compiled fn for columns -> records conversion (#95914) * use compiled fn for columns -> records conversion * TableNG: Move key rev and fix width overrides (#95921) * meh * add index to records --------- Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com> * TableNG: Sparkline Cell Parity (#95690) * sparkline value * todo * Remove unsued shallowField * Pass justifyContent to sparkline --------- Co-authored-by: drew08t <drew08@gmail.com> * TableNG: BarGauge cell updates (#95521) * fix bargauge cell * merge and fix props * cleanup imports * TableNG: Text wrapping (#96041) * feat(table-ng): fix long text cell width * feat(table-ng): fix long text cell width 2 * comment out column rowHeight * fix long text column width * fix types * fix types * naming * Check current header cell ref is defined for key * cleaning * make table re-render when data changed * eslint --------- Co-authored-by: drew08t <drew08@gmail.com> * TableNG: Text overflow (#96641) * feat(table-ng): text overflow * cleaning * TableNG: Fix footer for count (#96802) * TableNG: Table column filter (#96767) * feat(table-ng): add filter form --------- Co-authored-by: drew08t <drew08@gmail.com> Co-authored-by: Leon Sorokin <leeoniya@gmail.com> * TableNG: On column resize trigger (#97004) chore(table-ng): trigger on resize on text wrap only * TableNG: Improve sort performance (#97767) * TableNG: Improve sort performance * clean a bit * a bit more * Remove const that was breaking sort --------- Co-authored-by: Leon Sorokin <leeoniya@gmail.com> * TableNG: Fix sorting (#98141) fix(table-ng): sorting * TableNG: fix multi sorting (#98668) fix(table-ng): multi sorting * TableNG: Column re-size handler (#98901) * feat(table-ng): column re-size handler * TableNG: Fix footer calcs with no reducer (#99347) * TableNG: Update renderHeaderCell with filter dep (#99483) * TableNG: Updated styles for demo (#99530) * style proposal: table ng * chore: revert gauge cell custom stuff * TableNG: Cross-filter (#99459) * feat(table-ng): cross-filter * fix filter update issue * fix filter reset issue * Fix spacebar for filter input --------- Co-authored-by: drew08t <drew08@gmail.com> * TableNG: Filter perfomance optimization (#99620) fix(table-ng): filter performance optimization * TableNG: Refine styling closer to original table (#99625) * TableNG: Support groupToNestedTableTransform (#97134) * TableNG: Support groupToNestedTableTransform * Fix merge issues * Force refresh for now * Remove log * Fix some conflicts * Fix more conflicts * Help avoid clash with compiled frameToRecords keys * Make subtable height unconstrained * Support show field names in nested tables toggle * TableNG: Fix footer + some other misc updates (#99846) fix: footer fixes huzzah * TableNG: Styling - Update styling for cells (#99851) * fix(table-ng): bargauge inner width issue * TableNG: Move header cell component (#99844) * fix(table-ng): move header cell into separate file * Fix sub table --------- Co-authored-by: drew08t <drew08@gmail.com> * TableNG: Auto cell feature parity (#100095) * feat(table-ng): auto cell feature parity * TableNG: JSON cell implementation + hover fixes (#100152) * feat: tableNG json cell + auto fixes * chore: add comment * add justify content to json cell --------- Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com> * TableNG: Fix cell hover issue (#100207) * fix(table-ng): cell hover issue * better commenting * TableNG: Text color cell (#100120) feat(table-ng): text color cell feature parity * TableNG: Image cell implementation (#100132) * feat: tableNG image cell * fix: incorporate justify-content correctly * chore: pass down cell options from fieldConfig --------- Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com> * TableNG: Cell height performance improvement (#100544) * chore: perf improvement * chore: minor fix * Update packages/grafana-ui/src/components/Table/TableNG/TableNG.tsx Co-authored-by: Leon Sorokin <leeoniya@gmail.com> * chore: fix betterer --------- Co-authored-by: Leon Sorokin <leeoniya@gmail.com> * TableNG: Add pagination (#100165) * TableNG: Add pagination * TableNG: Get collapsed icon state correct + update `rowHeight` (#100556) * fix: get collapsed icon state correct + update condition for calculating row height * chore: some cleanup! * chore: naming to avoid confusion with local state name * TableNG: Add support for `DataLinksCell` (#100459) * TableNG: Improve sub table styling (#100772) * Move files temporarily to fix conflicts * Fix feature flag conflicts * Move files back to cell dir * TableNG: Update inner height of bar gauge cell (#100996) * fix: change inner height of bar gauge cell * chore: move function to utils, cleanup * Remove testing line * TableNG: Add bottom border to column headers + fix footer styling (#101016) * feat: add bottom border to column headers for table parity * feat: summary row style fix * chore: remove redundant style --------- Co-authored-by: drew08t <drew08@gmail.com> * TableNG: Add support for `ActionsCell` (#101024) * TableNG: Cell hover styles + header resize handler indicator (#100770) * fix: tableNG styles * chore: clean up comments * chore: remove column header stuffz for now * fix: refactor to transform/translate + resize handler hover styling * chore: re-think approach - change a lot of things * chore: most recent iteration * chore: wait i like this better * chore: hoist into colors function + clean it up! * moar better * chore: define constants for clarity * chore: calculate rbga to rgb values given background color --------- Co-authored-by: drew08t <drew08@gmail.com> * TableNG: Fix scoll hover jumpy behavior (#101085) * fix(table-ng): hover scroll jumping * Account for panel padding during pagination --------- Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com> Co-authored-by: drew08t <drew08@gmail.com> * TableNG: Fix imports (#101059) * fix(table-ng): clean imports Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com> * TableNG: Sorted rows dependent upon filtered rows (#100985) TableNG: Improve multi-sort performance * TableNG: Fix sparkline width (#101164) fix(table-ng): sparkline width * TableNG: Type TableNG (#101257) * feat: type tableNG * chore: push betterer * chore: fix linter + why can't I have inline if statements... GRR! * fix: linter - props name got changed at some point... * feedback: data links prop consistency + json cell robustness * chore: remove unused rowIndex prop --------- Co-authored-by: drew08t <drew08@gmail.com> * TableNG: Add support for datalinks (#100769) Co-authored-by: drew08t <drew08@gmail.com> * Chore: Remove unused import (#102064) remove unused import * Update betterer * BarGauge: Remove z-index (#102220) fix(bargauge): remove z-index * TableNG: Refactor + testing (#102045) * feat: type tableNG * chore: push betterer * chore: fix linter + why can't I have inline if statements... GRR! * fix: linter - props name got changed at some point... * feedback: data links prop consistency + json cell robustness * feat: refactor + tests * chore: fix import lint errors * betterer * chore: fix image cell * chore: revert width function * add test * betterer * chore: fix sorting + add tests * chore: pr feedback --------- Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com> Co-authored-by: drew08t <drew08@gmail.com> * TableNG: Fix table suggestion (#102497) fix: defensively guard against missing cellOptions * TableNG: Footer fields calc fix (#102487) * fix: respect footer fields calc selection * chore: add test * TableNG: Image cell hover fix (#102489) fix: image cell hover * TableNG: Persist scrollbars during re render (#102559) * TableNG: Persist scrollbars during re render * Update improved betterer * TableNG: Fix column width override (#102474) * fix(table): column width override * TableNG: Add support for crosshair share (#102410) * TableNG: Add support for crosshair share * Add tests * TableNG: Fix table ng tests (#102645) fix: cellType causing tests to fail * Remove empty file * TableNG: Update util tests (#102646) * TableNG: Add column type icon (#102686) * chore(table-ng): add column type icon * chore(table-ng): clean styling * Use core internationalization outside grafana ui * Import popover directly * Add count to grafana-ui locales * TableNG: Change feature flag to tableNextGen (#102814) Change feature flag to tableNextGen * TableNG: Add row colors (#102706) * chore(table-ng): add row colors * clean up * fix params * fix(table-ng): cell color background indexing --------- Co-authored-by: Kyle Cunningham <kyle@codeincarnate.com> Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com> Co-authored-by: Adela Almasan <adela.almasan@grafana.com> Co-authored-by: Leon Sorokin <leeoniya@gmail.com> Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com> Co-authored-by: Alex Spencer <52186778+alexjonspencer1@users.noreply.github.com>
209 lines
6.3 KiB
JSON
209 lines
6.3 KiB
JSON
{
|
|
"author": "Grafana Labs",
|
|
"license": "Apache-2.0",
|
|
"name": "@grafana/ui",
|
|
"version": "12.0.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",
|
|
"module": "src/index.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": "./src/index.ts",
|
|
"require": "./src/index.ts"
|
|
},
|
|
"./internal": {
|
|
"import": "./src/internal/index.ts",
|
|
"require": "./src/internal/index.ts"
|
|
},
|
|
"./unstable": {
|
|
"import": "./src/unstable.ts",
|
|
"require": "./src/unstable.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": "12.0.0-pre",
|
|
"@grafana/e2e-selectors": "12.0.0-pre",
|
|
"@grafana/faro-web-sdk": "^1.13.2",
|
|
"@grafana/schema": "12.0.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.30.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-data-grid": "7.0.0-beta.46",
|
|
"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.32",
|
|
"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"
|
|
}
|
|
}
|