@equinor/fusion-components
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -5,10 +5,10 @@ import React from 'react'; | ||
position: Position; | ||
instance: PositionInstance; | ||
instance?: PositionInstance; | ||
showLocation: boolean; | ||
showDate: boolean; | ||
showExternalId: boolean; | ||
onClick?: (position: Position, instance: PositionInstance) => void; | ||
onExpand?: (position: Position, instance: PositionInstance) => void; | ||
onClick?: (position: Position, instance?: PositionInstance) => void; | ||
onExpand?: (position: Position, instance?: PositionInstance) => void; | ||
}; | ||
declare const PositionInstanceComponent: React.FC<PositionInstanceProps>; | ||
export default PositionInstanceComponent; |
@@ -5,3 +5,3 @@ import React from 'react'; | ||
position: Position; | ||
currentInstance: PositionInstance; | ||
currentInstance?: PositionInstance; | ||
onClick?: (position: Position, instance: PositionInstance) => void; | ||
@@ -8,0 +8,0 @@ }; |
@@ -5,3 +5,3 @@ import React from 'react'; | ||
position: Position; | ||
instance: PositionInstance; | ||
instance?: PositionInstance; | ||
isSelected?: boolean; | ||
@@ -11,6 +11,6 @@ showExternalId: boolean; | ||
showDate: boolean; | ||
onClick?: (position: Position, instance: PositionInstance) => void; | ||
onExpand?: (position: Position, instance: PositionInstance) => void; | ||
onClick?: (position: Position, instance?: PositionInstance) => void; | ||
onExpand?: (position: Position, instance?: PositionInstance) => void; | ||
}; | ||
declare const PositionCard: React.FC<PositionCardProps>; | ||
export default PositionCard; |
{ | ||
"name": "@equinor/fusion-components", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Common react components used by fusion core and fusion apps", | ||
@@ -39,3 +39,3 @@ "main": "dist/index.js", | ||
"@babel/preset-typescript": "^7.3.3", | ||
"@equinor/fusion": "^0.4.0", | ||
"@equinor/fusion": "^0.4.1", | ||
"@storybook/addon-actions": "^5.1.9", | ||
@@ -42,0 +42,0 @@ "@storybook/addon-info": "^5.1.9", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
326548