@equinor/fusion-components
Advanced tools
Comparing version 0.0.28 to 0.0.29
import * as React from 'react'; | ||
declare type FusionContainerProps = {}; | ||
declare const FusionContainer: React.ForwardRefExoticComponent<Pick<React.Props<FusionContainerProps>, "children" | "key"> & React.RefAttributes<HTMLDivElement>>; | ||
declare const FusionContainer: React.ForwardRefExoticComponent<Pick<React.Props<FusionContainerProps>, "key" | "children"> & React.RefAttributes<HTMLDivElement>>; | ||
export default FusionContainer; |
@@ -1,2 +0,9 @@ | ||
declare const _default: (props: any) => string; | ||
import { ComponentDisplayType } from '@equinor/fusion'; | ||
import { ButtonProps } from './index'; | ||
declare type ButtonClassesProps = ButtonProps & { | ||
className?: string; | ||
displayType: ComponentDisplayType; | ||
mouseHasBeenDown: boolean; | ||
}; | ||
declare const _default: (props: ButtonClassesProps) => string; | ||
export default _default; |
import React, { EventHandler, SyntheticEvent } from 'react'; | ||
import { ComponentDisplayType } from '@equinor/fusion'; | ||
declare type AnchorProps = { | ||
@@ -9,3 +10,3 @@ url: string; | ||
onMouseUp: EventHandler<SyntheticEvent>; | ||
displayType: string; | ||
displayType: ComponentDisplayType; | ||
mouseHasBeenDown: boolean; | ||
@@ -12,0 +13,0 @@ }; |
import * as React from 'react'; | ||
import { ComponentDisplayType } from '@equinor/fusion'; | ||
declare type ButtonProps = { | ||
@@ -8,3 +9,3 @@ disabled?: boolean; | ||
onMouseUp?: React.EventHandler<React.SyntheticEvent>; | ||
displayType: string; | ||
displayType: ComponentDisplayType; | ||
mouseHasBeenDown: boolean; | ||
@@ -11,0 +12,0 @@ }; |
import * as React from 'react'; | ||
declare type ButtonProps = { | ||
export declare type ButtonProps = { | ||
disabled?: boolean; | ||
@@ -10,10 +10,2 @@ /** Use the contained variant */ | ||
frameless?: boolean; | ||
/** Use the primary coloring */ | ||
primary?: boolean; | ||
/** Use the signal coloring */ | ||
signal?: boolean; | ||
/** Compact button */ | ||
compact?: boolean; | ||
/** Comfortable button */ | ||
comfortable?: boolean; | ||
/** Provide an url and the button wil use <a>-tag instead of <button>-tag */ | ||
@@ -20,0 +12,0 @@ url?: string | null; |
@@ -18,5 +18,4 @@ import * as React from 'react'; | ||
onTakeAction?: (event?: React.SyntheticEvent<Element, Event>) => void; | ||
small?: boolean; | ||
}; | ||
declare const ErrorMessage: React.FC<ErrorMessageProps>; | ||
export default ErrorMessage; |
@@ -1,2 +0,9 @@ | ||
declare const _default: (props: any) => string; | ||
import { ComponentDisplayType } from '@equinor/fusion'; | ||
import { ButtonProps } from './index'; | ||
declare type ButtonClassesProps = ButtonProps & { | ||
className?: string; | ||
displayType: ComponentDisplayType; | ||
mouseHasBeenDown: boolean; | ||
}; | ||
declare const _default: (props: ButtonClassesProps) => string; | ||
export default _default; |
import React, { EventHandler, SyntheticEvent } from 'react'; | ||
import { ComponentDisplayType } from '@equinor/fusion'; | ||
declare type AnchorProps = { | ||
@@ -9,3 +10,3 @@ url: string; | ||
onMouseUp: EventHandler<SyntheticEvent>; | ||
displayType: string; | ||
displayType: ComponentDisplayType; | ||
mouseHasBeenDown: boolean; | ||
@@ -12,0 +13,0 @@ }; |
import * as React from 'react'; | ||
import { ComponentDisplayType } from '@equinor/fusion'; | ||
declare type ButtonProps = { | ||
@@ -8,3 +9,3 @@ disabled?: boolean; | ||
onMouseUp?: React.EventHandler<React.SyntheticEvent>; | ||
displayType: string; | ||
displayType: ComponentDisplayType; | ||
mouseHasBeenDown: boolean; | ||
@@ -11,0 +12,0 @@ }; |
import * as React from 'react'; | ||
declare type ButtonProps = { | ||
export declare type ButtonProps = { | ||
disabled?: boolean; | ||
@@ -10,10 +10,2 @@ /** Use the contained variant */ | ||
frameless?: boolean; | ||
/** Use the primary coloring */ | ||
primary?: boolean; | ||
/** Use the signal coloring */ | ||
signal?: boolean; | ||
/** Compact button */ | ||
compact?: boolean; | ||
/** Comfortable button */ | ||
comfortable?: boolean; | ||
/** Provide an url and the button wil use <a>-tag instead of <button>-tag */ | ||
@@ -20,0 +12,0 @@ url?: string | null; |
@@ -18,5 +18,4 @@ import * as React from 'react'; | ||
onTakeAction?: (event?: React.SyntheticEvent<Element, Event>) => void; | ||
small?: boolean; | ||
}; | ||
declare const ErrorMessage: React.FC<ErrorMessageProps>; | ||
export default ErrorMessage; |
{ | ||
"name": "@equinor/fusion-components", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"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
138250
136
975