andoncloud-prometheus-widget 1.0.0

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/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # andoncloud-prometheus-widget
2
+
3
+ > Made with create-react-library
4
+
5
+ [![NPM](https://img.shields.io/npm/v/prometheus-widget.svg)](https://www.npmjs.com/package/prometheus-widget) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install --save andoncloud-prometheus-widget
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```tsx
16
+ import { Widget, permissions } from 'andoncloud-prometheus-widget';
17
+ ```
18
+
19
+ ## License
20
+
21
+ MIT © [](https://github.com/)
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Loading: React.FC;
3
+ export default Loading;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { PrometheusChartProps } from '../../types';
3
+ declare const PrometheusChart: React.FC<PrometheusChartProps>;
4
+ export default PrometheusChart;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SettingsFormProps } from '../../types';
3
+ declare const SettingsForm: React.FC<SettingsFormProps>;
4
+ export default SettingsForm;
@@ -0,0 +1,5 @@
1
+ import '../../i18n';
2
+ import React from 'react';
3
+ import { WidgetProps } from '../../types';
4
+ declare const Widget: React.FC<WidgetProps>;
5
+ export default Widget;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { WidgetSettingsProps } from '../../types';
3
+ declare const WidgetSettings: React.FC<WidgetSettingsProps>;
4
+ export default WidgetSettings;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { WidgetViewProps } from '../../types';
3
+ declare const WidgetView: React.FC<WidgetViewProps>;
4
+ export default WidgetView;
package/dist/i18n.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import i18n from 'i18next';
2
+ export default i18n;
@@ -0,0 +1,2 @@
1
+ export { default as Widget } from './components/Widget';
2
+ export declare const permissions: never[];