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.0.48 to 0.0.49

dist/components/people/PersonCard/index.d.ts

6

dist/components/general/Menu/index.d.ts

@@ -1,3 +0,3 @@

import * as React from "react";
import { MenuItemType, MenuItemComponentProps } from "./MenuItem";
import * as React from 'react';
import { MenuItemType, MenuItemComponentProps } from './MenuItem';
import { Elevation } from '@equinor/fusion-components';

@@ -19,3 +19,3 @@ export declare type MenuSection<TItem extends MenuItemType> = {

export { MenuItemType };
declare function Menu<TItem extends MenuItemType = MenuItemType>({ sections, elevation, onClick, itemComponent: component, asideComponent, keyboardNavigationRef }: MenuProps<TItem>): JSX.Element;
declare function Menu<TItem extends MenuItemType = MenuItemType>({ sections, elevation, onClick, itemComponent: component, asideComponent, keyboardNavigationRef, }: MenuProps<TItem>): JSX.Element;
declare namespace Menu {

@@ -22,0 +22,0 @@ var defaultProps: {

@@ -1,2 +0,2 @@

import { FC } from 'react';
/// <reference types="react" />
export declare type SearchableDropdownOption = {

@@ -8,8 +8,17 @@ title: string;

};
export declare type SearchableDropdownSection = {
key: string;
title?: string;
items: SearchableDropdownOption[];
};
declare type SearchableDropdownProps = {
label?: string;
options: SearchableDropdownOption[];
options?: SearchableDropdownOption[];
sections?: SearchableDropdownSection[];
itemComponent?: any;
asideComponent?: any;
onSelect?: (item: SearchableDropdownOption) => void;
onSearchAsync?: (query: string) => void;
};
declare const SearchableDropdown: FC<SearchableDropdownProps>;
declare const SearchableDropdown: ({ options, sections, label, onSelect, onSearchAsync, itemComponent, asideComponent, }: SearchableDropdownProps) => JSX.Element;
export default SearchableDropdown;

@@ -9,2 +9,3 @@ import * as React from 'react';

label?: string;
asideComponent?: any;
helperText?: string;

@@ -11,0 +12,0 @@ onChange: (newValue: string) => void;

@@ -19,3 +19,3 @@ export { default as FusionHeader } from './components/core/Header';

export { default as Dropdown, useDropdownController, DropdownController, } from './components/general/Dropdown';
export { default as SearchableDropdownWrapper, SearchableDropdownOption, } from './components/general/SearchableDropdown';
export { default as SearchableDropdownWrapper, SearchableDropdownOption, SearchableDropdownSection, } from './components/general/SearchableDropdown';
export { ModalSideSheet } from './components/general/SideSheet';

@@ -29,2 +29,3 @@ export { default as Scrim } from './components/general/Scrim';

export { default as PersonPhoto, PhotoSize } from './components/people/PersonPhoto';
export { default as PersonCard } from './components/people/PersonCard';
export { default as Spinner } from './components/feedback/Spinner';

@@ -31,0 +32,0 @@ export { default as Banner } from './components/feedback/Banner';

{
"name": "@equinor/fusion-components",
"version": "0.0.48",
"version": "0.0.49",
"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