@grafana/plugin-ui 0.10.7 → 0.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.d.cts
CHANGED
|
@@ -645,8 +645,7 @@ interface GroupByRowProps {
|
|
|
645
645
|
}
|
|
646
646
|
declare function GroupByRow({ sql, columns, onSqlChange }: GroupByRowProps): React.JSX.Element;
|
|
647
647
|
|
|
648
|
-
|
|
649
|
-
}
|
|
648
|
+
type AccessoryButtonProps = ButtonProps & {};
|
|
650
649
|
declare const AccessoryButton: ({ className, ...props }: AccessoryButtonProps) => React.JSX.Element;
|
|
651
650
|
|
|
652
651
|
interface EditorFieldGroupProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessoryButton.js","sources":["../../../../src/components/QueryEditor/AccessoryButton.tsx"],"sourcesContent":["import { css, cx } from '@emotion/css';\nimport React from 'react';\n\nimport { type GrafanaTheme2 } from '@grafana/data';\nimport { Button, type ButtonProps, useStyles2 } from '@grafana/ui';\n\
|
|
1
|
+
{"version":3,"file":"AccessoryButton.js","sources":["../../../../src/components/QueryEditor/AccessoryButton.tsx"],"sourcesContent":["import { css, cx } from '@emotion/css';\nimport React from 'react';\n\nimport { type GrafanaTheme2 } from '@grafana/data';\nimport { Button, type ButtonProps, useStyles2 } from '@grafana/ui';\n\ntype AccessoryButtonProps = ButtonProps & {};\n\nexport const AccessoryButton = ({ className, ...props }: AccessoryButtonProps) => {\n const styles = useStyles2(getButtonStyles);\n\n return <Button {...props} className={cx(className, styles.button)} />;\n};\n\nconst getButtonStyles = (theme: GrafanaTheme2) => ({\n button: css({\n paddingLeft: theme.spacing(3 / 2),\n paddingRight: theme.spacing(3 / 2),\n }),\n});\n"],"names":["React"],"mappings":";;;;;AAQO,MAAM,kBAAkB,CAAC,EAAE,SAAW,EAAA,GAAG,OAAkC,KAAA;AAChF,EAAM,MAAA,MAAA,GAAS,WAAW,eAAe,CAAA;AAEzC,EAAO,uBAAAA,cAAA,CAAA,aAAA,CAAC,UAAQ,GAAG,KAAA,EAAO,WAAW,EAAG,CAAA,SAAA,EAAW,MAAO,CAAA,MAAM,CAAG,EAAA,CAAA;AACrE;AAEA,MAAM,eAAA,GAAkB,CAAC,KAA0B,MAAA;AAAA,EACjD,QAAQ,GAAI,CAAA;AAAA,IACV,WAAa,EAAA,KAAA,CAAM,OAAQ,CAAA,CAAA,GAAI,CAAC,CAAA;AAAA,IAChC,YAAc,EAAA,KAAA,CAAM,OAAQ,CAAA,CAAA,GAAI,CAAC;AAAA,GAClC;AACH,CAAA,CAAA;;;;"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -645,8 +645,7 @@ interface GroupByRowProps {
|
|
|
645
645
|
}
|
|
646
646
|
declare function GroupByRow({ sql, columns, onSqlChange }: GroupByRowProps): React.JSX.Element;
|
|
647
647
|
|
|
648
|
-
|
|
649
|
-
}
|
|
648
|
+
type AccessoryButtonProps = ButtonProps & {};
|
|
650
649
|
declare const AccessoryButton: ({ className, ...props }: AccessoryButtonProps) => React.JSX.Element;
|
|
651
650
|
|
|
652
651
|
interface EditorFieldGroupProps {
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/plugin-ui",
|
|
3
|
-
"version": "0.10.
|
|
4
|
-
"repository":
|
|
3
|
+
"version": "0.10.8",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+ssh://git@github.com/grafana/plugin-ui.git"
|
|
7
|
+
},
|
|
5
8
|
"author": "Grafana Labs",
|
|
6
9
|
"type": "module",
|
|
7
10
|
"main": "dist/cjs/index.cjs",
|
|
@@ -83,7 +86,7 @@
|
|
|
83
86
|
"chance": "^1.1.7",
|
|
84
87
|
"copyfiles": "^2.4.1",
|
|
85
88
|
"cspell": "^8.14.4",
|
|
86
|
-
"esbuild": "^0.25.
|
|
89
|
+
"esbuild": "^0.25.3",
|
|
87
90
|
"eslint": "^8.52.0",
|
|
88
91
|
"eslint-config-prettier": "^8.8.0",
|
|
89
92
|
"eslint-plugin-jsdoc": "^46.8.2",
|