Skip to content

Commit

Permalink
Migrate to plugin-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
idastambuk committed Jan 6, 2025
1 parent 280984b commit 6afc9b5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 45 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dependencies": {
"@emotion/css": "11.13.5",
"@grafana/data": "^11.4.0",
"@grafana/experimental": "2.1.6",
"@grafana/plugin-ui": "^0.9.4",
"@grafana/runtime": "^11.4.0",
"@grafana/schema": "^11.4.0",
"@grafana/ui": "^11.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/QueryEditor/AccountIdDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { TimeRange } from '@grafana/data';
import { config } from '@grafana/runtime';
import React from 'react';
import { MultiSelect } from '@grafana/ui';
import { EditorField } from '@grafana/experimental';
import { EditorField } from '@grafana/plugin-ui';
type Props = {
datasource: XrayDataSource;
query: XrayQuery;
Expand Down
2 changes: 1 addition & 1 deletion src/components/QueryEditor/QueryEditorForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import { XrayDataSource } from '../../XRayDataSource';
import { getTemplateSrv } from '@grafana/runtime';
import { AccountIdDropdown } from './AccountIdDropdown';
import { EditorRow, EditorFieldGroup, EditorField } from '@grafana/experimental';
import { EditorRow, EditorFieldGroup, EditorField } from '@grafana/plugin-ui';
import { QuerySection } from './QuerySection';
import { XrayLinks } from './XrayLinks';

Expand Down
2 changes: 1 addition & 1 deletion src/components/QueryEditor/QuerySection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { XrayDataSource } from '../../XRayDataSource';
import { css } from '@emotion/css';
import { XrayQuery } from '../../types';
import { QueryTypeOption } from './constants';
import { EditorField } from '@grafana/experimental';
import { EditorField } from '@grafana/plugin-ui';
import { queryTypeOptionToQueryType } from './QueryEditorForm';

const styles = {
Expand Down
43 changes: 2 additions & 41 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1067,20 +1067,6 @@
resolved "https://registry.yarnpkg.com/@grafana/eslint-config/-/eslint-config-8.0.0.tgz#207049e69bb9fe7c007d207cd79fcfe28a781288"
integrity sha512-2e/Zk7dEB8k4r7mPiTua9vXZIqv/nN6prWvNcr/kfglz4y9kllEagANE1loxJ7whZsIqwB++UR7s0MAOFA0Iog==

"@grafana/[email protected]":
version "2.1.6"
resolved "https://registry.yarnpkg.com/@grafana/experimental/-/experimental-2.1.6.tgz#eccca8ca0936b61bf887fa8703d7f48487114bf9"
integrity sha512-jJFFEFC0aquD1nOelW8bTtlRXYM3+xdKRXPPR2IrLGqMSO3UI5/0VzH0hlOrVwOsNMDJMC8BwJzCQnwzUB4DGg==
dependencies:
"@hello-pangea/dnd" "^16.6.0"
"@types/uuid" "^8.3.3"
lodash "^4.17.21"
prismjs "^1.29.0"
react-popper-tooltip "^4.4.2"
react-use "^17.4.2"
semver "^7.5.4"
uuid "^8.3.2"

"@grafana/faro-core@^1.12.2":
version "1.12.2"
resolved "https://registry.yarnpkg.com/@grafana/faro-core/-/faro-core-1.12.2.tgz#e47568b2fa03e00b4da453c3a1ae512d9bcf0c75"
Expand Down Expand Up @@ -1108,7 +1094,7 @@
uuid "^11.0.2"
yaml "^2.3.4"

"@grafana/plugin-ui@^0.9.3":
"@grafana/plugin-ui@^0.9.3", "@grafana/plugin-ui@^0.9.4":
version "0.9.4"
resolved "https://registry.yarnpkg.com/@grafana/plugin-ui/-/plugin-ui-0.9.4.tgz#d6753d2aa11d2da48d6cb2f90f48810e51b358ca"
integrity sha512-uEVPNqOcLi563XQrtNQT2lDPz++krU2rqwV4x9jylQtFsHsfoWc7TH0rjhWr1fYwCePdH/m0dTDl12UZAH2Ysw==
Expand Down Expand Up @@ -1224,7 +1210,7 @@
uplot "1.6.31"
uuid "9.0.1"

"@hello-pangea/[email protected]", "@hello-pangea/dnd@^16.6.0":
"@hello-pangea/[email protected]":
version "16.6.0"
resolved "https://registry.yarnpkg.com/@hello-pangea/dnd/-/dnd-16.6.0.tgz#7509639c7bd13f55e537b65a9dcfcd54e7c99ac7"
integrity sha512-vfZ4GydqbtUPXSLfAvKvXQ6xwRzIjUSjVU0Sx+70VOhc2xx6CdmJXJ8YhH70RpbTUGjxctslQTHul9sIOxCfFQ==
Expand Down Expand Up @@ -2563,11 +2549,6 @@
resolved "https://registry.yarnpkg.com/@types/use-sync-external-store/-/use-sync-external-store-0.0.6.tgz#60be8d21baab8c305132eb9cb912ed497852aadc"
integrity sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg==

"@types/uuid@^8.3.3":
version "8.3.4"
resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc"
integrity sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==

"@types/yargs-parser@*":
version "21.0.3"
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15"
Expand Down Expand Up @@ -8048,26 +8029,6 @@ [email protected]:
ts-easing "^0.2.0"
tslib "^2.1.0"

react-use@^17.4.2:
version "17.6.0"
resolved "https://registry.yarnpkg.com/react-use/-/react-use-17.6.0.tgz#2101a3a79dc965a25866b21f5d6de4b128488a14"
integrity sha512-OmedEScUMKFfzn1Ir8dBxiLLSOzhKe/dPZwVxcujweSj45aNM7BEGPb9BEVIgVEqEXx6f3/TsXzwIktNgUR02g==
dependencies:
"@types/js-cookie" "^2.2.6"
"@xobotyi/scrollbar-width" "^1.9.5"
copy-to-clipboard "^3.3.1"
fast-deep-equal "^3.1.3"
fast-shallow-equal "^1.0.0"
js-cookie "^2.2.1"
nano-css "^5.6.2"
react-universal-interface "^0.6.2"
resize-observer-polyfill "^1.5.1"
screenfull "^5.1.0"
set-harmonic-interval "^1.0.1"
throttle-debounce "^3.0.1"
ts-easing "^0.2.0"
tslib "^2.1.0"

react-virtualized-auto-sizer@^1.0.6:
version "1.0.25"
resolved "https://registry.yarnpkg.com/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.25.tgz#b13cbc528ac200be2bd1ffa40c8bb19bcc60ac3f"
Expand Down

0 comments on commit 6afc9b5

Please sign in to comment.