Skip to content

Commit

Permalink
chore(deps): update grafana packages to ^10.2.0 (#509)
Browse files Browse the repository at this point in the history
* chore(deps): update grafana packages to ^10.2.0

* chore(deps): update dependency rxjs to v7.8.1

* test: expose TextEncoder

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Simon Podlipsky <[email protected]>
  • Loading branch information
renovate[bot] and simPod authored Nov 5, 2023
1 parent 11d4e6a commit d41c008
Show file tree
Hide file tree
Showing 4 changed files with 235 additions and 192 deletions.
4 changes: 4 additions & 0 deletions jest-setup.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
// Jest setup provided by Grafana scaffolding
import './.config/jest-setup';

import { TextEncoder } from 'util';

global.TextEncoder = TextEncoder;
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@
},
"dependencies": {
"@emotion/css": "^11.11.2",
"@grafana/data": "^10.1.5",
"@grafana/data": "^10.2.0",
"@grafana/experimental": "^1.7.4",
"@grafana/runtime": "^10.1.5",
"@grafana/ui": "^10.1.5",
"@grafana/runtime": "^10.2.0",
"@grafana/ui": "^10.2.0",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-virtualized-auto-sizer": "^1.0.20",
"rxjs": "7.8.0",
"rxjs": "7.8.1",
"ts-pattern": "^5.0.5",
"tslib": "^2.6.2"
},
Expand Down
4 changes: 2 additions & 2 deletions src/Component/QueryBuilderTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { getTagColorsFromName, IconButton, stylesFactory, useTheme } from '@graf
import React, { ComponentType } from 'react';
import { match } from 'ts-pattern';

type QueryBuilderTagProps = {
interface QueryBuilderTagProps {
name: string;
value: unknown;
onRemove: (name: string) => void;
};
}

const getStyles = stylesFactory(({ theme, name }: { theme: GrafanaTheme; name: string }) => {
const { color, borderColor } = getTagColorsFromName(name);
Expand Down
Loading

0 comments on commit d41c008

Please sign in to comment.