Skip to content

Commit e365ca7

Browse files
authored
Replace @grafana/experimental with @grafana/plugin-ui and prepare 0.6.0 (#111)
* Replace experimental with plugin-ui * prepare 0.6.0
1 parent 41e4c2a commit e365ca7

File tree

9 files changed

+312
-101
lines changed

9 files changed

+312
-101
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,38 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## v.0.6.0
6+
7+
- Replace @grafana/experimental with @grafana/plugin-ui
8+
- Chore: add dependabot in [#97](https://github.com/grafana/grafana-aws-sdk-react/pull/97)
9+
- Dependency updates in [#98](https://github.com/grafana/grafana-aws-sdk-react/pull/9899), [#99](https://github.com/grafana/grafana-aws-sdk-react/pull/), [#102](https://github.com/grafana/grafana-aws-sdk-react/pull/102)
10+
- actions/checkout from 2 to 4
11+
- tibdex/github-app-token from 1.8.0 to 2.1.0
12+
- EndBug/version-check from 1 to 2
13+
- actions/setup-node from 3 to 4
14+
- actions/github-script from 6.2.0 to 7.0.1
15+
- @grafana/experimental from 2.1.1 to 2.1.2
16+
- @types/node from 22.7.4 to 22.7.5
17+
- @types/react-dom from 18.3.0 to 18.3.1
18+
- cspell from 8.14.4 to 8.15.2
19+
- @grafana/data from 11.2.2 to 11.3.0
20+
- @grafana/eslint-config from 7.0.0 to 8.0.0
21+
- @grafana/runtime from 11.2.2 to 11.3.0
22+
- @grafana/ui from 11.2.2 to 11.3.0
23+
- @swc/core from 1.7.28 to 1.8.0
24+
- @testing-library/jest-dom from 6.5.0 to 6.6.3
25+
- @types/jest from 29.5.13 to 29.5.14
26+
- @types/lodash from 4.17.10 to 4.17.13
27+
- @types/node from 22.7.5 to 22.8.7
28+
- @types/react from 18.3.11 to 18.3.12
29+
- cspell from 8.15.2 to 8.15.7
30+
- rollup from 4.24.0 to 4.24.4
31+
- @grafana/async-query-data 0.2.0 0.3.0
32+
- @eslint/js 9.13.0 9.14.0
33+
- @stylistic/eslint-plugin-ts 2.10.0 2.10.1
34+
- @swc/jest 0.2.36 0.2.37
35+
- eslint 9.13.0 9.14.0
36+
537
## v0.5.0
638

739
- Chore: update dependencies in [#96](https://github.com/grafana/grafana-aws-sdk-react/pull/96)

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
This is a common package that can be used for all amazon plugins.
44

5+
## Compatibility
6+
7+
@grafana/aws-sdk-react version >=0.7.0 is not compatible with Grafana versions <=10.3.x
8+
59
## Frontend configuration
610

711
see the ./src folder

cspell.config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"testid",
1616
"Datasources",
1717
"Datasource",
18-
"typecheck"
18+
"typecheck",
19+
"tibdex"
1920
]
2021
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grafana/aws-sdk",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "Common AWS features for grafana",
55
"main": "dist/index.js",
66
"module": "dist/esm/index.js",
@@ -28,7 +28,7 @@
2828
"license": "Apache-2.0",
2929
"dependencies": {
3030
"@grafana/async-query-data": "0.3.0",
31-
"@grafana/experimental": "^2.1.2"
31+
"@grafana/plugin-ui": "^0.9.3"
3232
},
3333
"devDependencies": {
3434
"@eslint/eslintrc": "^3.1.0",

src/components/ConnectionConfig.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { standardRegions } from '../regions';
1111
import { AwsAuthType, ConnectionConfigProps } from '../types';
1212
import { awsAuthProviderOptions } from '../providers';
1313
import { assumeRoleInstructionsStyle } from './ConnectionConfig.styles';
14-
import { ConfigSection, ConfigSubSection } from '@grafana/experimental';
14+
import { ConfigSection, ConfigSubSection } from '@grafana/plugin-ui';
1515

1616
export const DEFAULT_LABEL_WIDTH = 28;
1717
const DS_TYPES_THAT_SUPPORT_TEMP_CREDS = ['cloudwatch', 'grafana-athena-datasource'];

src/sql/ConfigEditor/ConfigSelect.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ export function ConfigSelect(props: ConfigSelectProps) {
8686
menuPlacement={props.menuPlacement}
8787
menuPosition={props.menuPosition}
8888
noOptionsMessage={props.noOptionsMessage}
89+
placeholder={props.placeholder}
90+
width={props.width}
8991
onBlur={props.onBlur}
9092
onCreateOption={props.onCreateOption}
9193
onInputChange={props.onInputChange}
92-
placeholder={props.placeholder}
93-
width={props.width}
9494
isOptionDisabled={props.isOptionDisabled}
9595
{...commonProps}
9696
/>

src/sql/QueryEditor/FillValueSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { SelectableValue } from '@grafana/data';
33
import { DataQuery } from '@grafana/schema';
44
import { Input, Select } from '@grafana/ui';
5-
import { EditorField } from '@grafana/experimental';
5+
import { EditorField } from '@grafana/plugin-ui';
66

77
export enum FillValueOptions {
88
Previous,

src/sql/QueryEditor/QueryEditorHeader.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import React from 'react';
22

3-
import { DataSourceApi, DataSourceJsonData, LoadingState, QueryEditorProps } from '@grafana/data';
4-
import { DataQuery } from '@grafana/schema';
5-
import { EditorHeader, FlexItem } from '@grafana/experimental';
3+
import { DataQuery, DataSourceApi, DataSourceJsonData, LoadingState, QueryEditorProps } from '@grafana/data';
4+
import { EditorHeader, FlexItem } from '@grafana/plugin-ui';
65
import { Button } from '@grafana/ui';
76
import { RunQueryButtons } from '@grafana/async-query-data';
87

0 commit comments

Comments
 (0)