@equinor/fusion-components
Advanced tools
Comparing version 0.1.12 to 0.1.13
@@ -7,4 +7,5 @@ /// <reference types="react" /> | ||
type: 'child' | 'section' | 'grouping'; | ||
onClick?: () => void; | ||
}; | ||
declare const NavigationItem: ({ children, isActive, isCollapsed, type }: NavigationItemProps) => JSX.Element; | ||
declare const NavigationItem: ({ children, isActive, isCollapsed, type, onClick }: NavigationItemProps) => JSX.Element; | ||
export default NavigationItem; |
@@ -6,3 +6,3 @@ import { OrgChartProps, OrgStructure } from './orgChartTypes'; | ||
}; | ||
declare const useOrgChartActions: <T extends OrgStructure>({ structure, cardWidth, cardHeight, cardMargin, rowMargin, component, childrenLabel, asideLabel, breadCrumbComponent, parentHeight, parentWidth, breadCrumbs, }: OrgChartActionProps<T>) => void; | ||
declare const useOrgChartActions: <T extends OrgStructure>({ structure, cardWidth, cardHeight, cardMargin, rowMargin, component, childrenLabel, asideLabel, breadCrumbComponent, parentHeight, parentWidth, breadCrumbs, breadCrumbWidth, breadCrumbHeight, breadCrumbMargin, }: OrgChartActionProps<T>) => void; | ||
export default useOrgChartActions; |
@@ -16,2 +16,5 @@ /// <reference types="react" /> | ||
breadCrumbs?: BreadCrumb[]; | ||
breadCrumbWidth?: number; | ||
breadCrumbHeight?: number; | ||
breadCrumbMargin?: number; | ||
}; | ||
@@ -18,0 +21,0 @@ export declare type OrgStructure = { |
@@ -46,2 +46,7 @@ import { OrgNode, OrgChartItemProps, BreadCrumb } from './orgChartTypes'; | ||
} | { | ||
type: 'UPDATE_BREADCRUMBS_SIZE'; | ||
height?: number; | ||
width?: number; | ||
margin?: number; | ||
} | { | ||
type: 'UPDATE_NUMBER_OF_CARDS_PER_ROW'; | ||
@@ -69,2 +74,5 @@ numberOfCardsPerRow: number; | ||
numberOfCardsPerRow: number; | ||
breadCrumbWidth: number; | ||
breadCrumbHeight: number; | ||
breadCrumbMargin: number; | ||
}; | ||
@@ -71,0 +79,0 @@ export declare type OrgChartContextReducer<T> = { |
{ | ||
"name": "@equinor/fusion-components", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "Common react components used by fusion core and fusion apps", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
330823
1834