Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@equinor/fusion-components

Package Overview
Dependencies
Maintainers
2
Versions
579
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-components - npm Package Compare versions

Comparing version 0.1.12 to 0.1.13

3

dist/components/general/NavigationDrawer/components/NavigationItem.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc