@equinor/echo-components 4.1.0 → 4.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/echo-components",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "dependencies": {
5
5
  "chart.js": "4.5.1",
6
6
  "react-datepicker": "8.7.0",
@@ -2,6 +2,10 @@ export { EquipmentItemCard } from './equipmentItemCard/EquipmentItemCard';
2
2
  export type { EquipmentItemCardData } from './equipmentItemCard/equipmentItemCard.types';
3
3
  export { ItemCard } from './itemCard/ItemCard';
4
4
  export { type ItemCardIconItem, type ItemCardIconsProps } from './itemCard/itemCard.types';
5
+ export { LastRecordedMeasurement } from './measuringPointItemCard/lastRecordedMeasurement/LastRecordedMeasurement';
6
+ export type { LastRecordedMeasurementInfo } from './measuringPointItemCard/lastRecordedMeasurement/lastRecordedMeasurement.types';
7
+ export { MeasuringPointItemCard } from './measuringPointItemCard/MeasuringPointItemCard';
8
+ export type { MeasuringPointItemCardData } from './measuringPointItemCard/measuringPointItemCard.types';
5
9
  export { NotificationItemCard } from './notificationItemCard/NotificationItemCard';
6
10
  export { type NotificationItemCardData } from './notificationItemCard/notificationItemCard.types';
7
11
  export { TagItemCard } from './tagItemCard/TagItemCard';
@@ -0,0 +1,6 @@
1
+ import type { MeasuringPointItemCardData } from './measuringPointItemCard.types';
2
+ interface MeasuringPointItemCardProps {
3
+ readonly measuringPoint: MeasuringPointItemCardData;
4
+ }
5
+ export declare const MeasuringPointItemCard: ({ measuringPoint }: MeasuringPointItemCardProps) => React.JSX.Element;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { LastRecordedMeasurementInfo } from './lastRecordedMeasurement.types';
2
+ interface LastRecordedMeasurementProps {
3
+ readonly lastRecordedMeasurement: LastRecordedMeasurementInfo;
4
+ readonly failureMechanismDescription: string | undefined;
5
+ }
6
+ export declare const LastRecordedMeasurement: ({ lastRecordedMeasurement, failureMechanismDescription }: LastRecordedMeasurementProps) => "" | import("react/jsx-runtime").JSX.Element | undefined;
7
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface LastRecordedMeasurementInfo {
2
+ readonly conditionAsText: string | undefined;
3
+ readonly codeAsText: string | undefined;
4
+ readonly measurementDateTime: string | undefined;
5
+ }
@@ -0,0 +1,7 @@
1
+ import type { LastRecordedMeasurementInfo } from './lastRecordedMeasurement/lastRecordedMeasurement.types';
2
+ export interface MeasuringPointItemCardData {
3
+ readonly measuringPointId: string;
4
+ readonly description: string;
5
+ readonly lastRecordedMeasurement: LastRecordedMeasurementInfo;
6
+ readonly failureMechanismDescription: string | undefined;
7
+ }
@@ -17,6 +17,8 @@ export declare const themeConst: {
17
17
  breakpointLg: string;
18
18
  breakpointXl: string;
19
19
  breakpointXxl: string;
20
+ breakPointMaxWidthS: string;
21
+ breakPointMaxWidthM: string;
20
22
  fontSizeXSmall: string;
21
23
  fontSizeSmall: string;
22
24
  fontSizeSmallMedium: string;