andoncloud-prometheus-widget 1.0.1 → 1.0.2

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.
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { PrometheusChartProps } from '../../types';
2
+ import { PrometheusChartProps } from '@/types';
3
3
  declare const PrometheusChart: React.FC<PrometheusChartProps>;
4
4
  export default PrometheusChart;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { SettingsFormProps } from '../../types';
2
+ import { SettingsFormProps } from '@/types';
3
3
  declare const SettingsForm: React.FC<SettingsFormProps>;
4
4
  export default SettingsForm;
@@ -1,5 +1,4 @@
1
- import '../../i18n';
2
1
  import React from 'react';
3
- import { WidgetProps } from '../../types';
2
+ import { WidgetProps } from '@/types';
4
3
  declare const Widget: React.FC<WidgetProps>;
5
4
  export default Widget;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { WidgetSettingsProps } from '../../types';
2
+ import { WidgetSettingsProps } from '@/types';
3
3
  declare const WidgetSettings: React.FC<WidgetSettingsProps>;
4
4
  export default WidgetSettings;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { WidgetViewProps } from '../../types';
2
+ import { WidgetViewProps } from '@/types';
3
3
  declare const WidgetView: React.FC<WidgetViewProps>;
4
4
  export default WidgetView;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
+ import './i18n';
1
2
  export { default as Widget } from './components/Widget';
3
+ export declare const getWidgetName: (lang: 'en' | 'pl') => "PromQL chart" | "Wykres PromQL" | "prometheus-widget";
2
4
  export declare const permissions: never[];