@equinor/fusion-components
Advanced tools
Comparing version 0.0.31 to 0.0.32
import * as React from 'react'; | ||
declare type FusionContainerProps = {}; | ||
declare const FusionContainer: React.ForwardRefExoticComponent<Pick<React.Props<FusionContainerProps>, "key" | "children"> & React.RefAttributes<HTMLDivElement>>; | ||
declare const FusionContainer: React.ForwardRefExoticComponent<Pick<React.Props<FusionContainerProps>, "children" | "key"> & React.RefAttributes<HTMLDivElement>>; | ||
export default FusionContainer; |
@@ -1,2 +0,2 @@ | ||
import * as React from 'react'; | ||
import React from 'react'; | ||
declare type FusionRootProps = { | ||
@@ -3,0 +3,0 @@ rootRef: React.MutableRefObject<HTMLElement | null>; |
@@ -1,6 +0,6 @@ | ||
import * as React from 'react'; | ||
import React from 'react'; | ||
declare type BannerProps = { | ||
message: string; | ||
icon?: any; | ||
onCancel: () => void; | ||
onDismiss: () => void; | ||
action?: boolean; | ||
@@ -7,0 +7,0 @@ actionLabel?: string; |
@@ -1,2 +0,2 @@ | ||
import * as React from 'react'; | ||
import React from 'react'; | ||
export declare enum VerticalPositions { | ||
@@ -19,4 +19,5 @@ Top = "top", | ||
abortSignal: AbortSignal; | ||
onDismiss: () => void; | ||
}; | ||
declare const SnackBar: React.FC<SnackBarProps>; | ||
export default SnackBar; |
@@ -5,2 +5,3 @@ import React, { MouseEvent } from 'react'; | ||
toggler?: boolean; | ||
disabled?: boolean; | ||
onClick?: (e: MouseEvent<HTMLButtonElement>) => void; | ||
@@ -7,0 +8,0 @@ }; |
export { default as SearchIcon } from './SearchIcon'; | ||
export { default as SortIcon } from './SortIcon'; |
@@ -1,2 +0,2 @@ | ||
import * as React from 'react'; | ||
import React from 'react'; | ||
declare type FusionRootProps = { | ||
@@ -3,0 +3,0 @@ rootRef: React.MutableRefObject<HTMLElement | null>; |
@@ -1,6 +0,6 @@ | ||
import * as React from 'react'; | ||
import React from 'react'; | ||
declare type BannerProps = { | ||
message: string; | ||
icon?: any; | ||
onCancel: () => void; | ||
onDismiss: () => void; | ||
action?: boolean; | ||
@@ -7,0 +7,0 @@ actionLabel?: string; |
@@ -1,2 +0,2 @@ | ||
import * as React from 'react'; | ||
import React from 'react'; | ||
export declare enum VerticalPositions { | ||
@@ -19,4 +19,5 @@ Top = "top", | ||
abortSignal: AbortSignal; | ||
onDismiss: () => void; | ||
}; | ||
declare const SnackBar: React.FC<SnackBarProps>; | ||
export default SnackBar; |
@@ -5,2 +5,3 @@ import React, { MouseEvent } from 'react'; | ||
toggler?: boolean; | ||
disabled?: boolean; | ||
onClick?: (e: MouseEvent<HTMLButtonElement>) => void; | ||
@@ -7,0 +8,0 @@ }; |
export { default as SearchIcon } from './SearchIcon'; | ||
export { default as SortIcon } from './SortIcon'; |
@@ -7,3 +7,4 @@ export { default as FusionHeader } from './components/core/Header'; | ||
export { default as AppWrapper } from './components/core/AppWrapper'; | ||
export { default as Button } from './components/general/Button'; | ||
export { default as DataTable, DataTableColumn } from "./components/data/DataTable"; | ||
export { default as Button, ButtonProps } from './components/general/Button'; | ||
export { default as IconButton } from './components/general/IconButton'; | ||
@@ -15,2 +16,3 @@ export { default as ErrorBoundary } from './components/general/ErrorBoundary'; | ||
export { default as TextInput } from "./components/general/TextInput"; | ||
export { default as Pagination, PaginationSkeleton, PaginationChangeHandler } from "./components/general/Pagination"; | ||
export { default as Spinner } from './components/feedback/Spinner'; | ||
@@ -20,2 +22,3 @@ export { default as Banner } from './components/feedback/Banner'; | ||
export { default as Snackbar } from './components/feedback/Snackbar'; | ||
export { SkeletonBar, SkeletonButton } from "./components/feedback/Skeleton"; | ||
export { default as useElevationClassName, Elevation } from './hooks/useElevationClassName'; | ||
@@ -33,2 +36,6 @@ export { default as usePopoverRef } from './hooks/usePopoverRef'; | ||
export { default as useRelativePositioning } from './hooks/useRelativePositioning'; | ||
export { default as useBreakpoint } from './hooks/useBreakpoint'; | ||
export { default as useHorizontalBreakpoint } from './hooks/useHorizontalBreakpoint'; | ||
export { default as useSizeBreakpoint } from './hooks/useSizeBreakpoint'; | ||
export { default as useVerticalBreakpoint } from './hooks/useVerticalBreakpoint'; | ||
export { default as useIcon, IconProps } from './hooks/useIcon'; | ||
@@ -38,2 +45,4 @@ export { WarningIcon, ErrorIcon } from './components/icons/components/alert'; | ||
export { SyncDisabledIcon } from './components/icons/components/notification'; | ||
export { SearchIcon } from './components/icons/components/action'; | ||
export { SearchIcon, SortIcon } from './components/icons/components/action'; | ||
export { PaginationArrow } from './components/icons/components/navigation'; | ||
export { default as styling } from "./styles/styling"; |
@@ -7,3 +7,4 @@ export { default as FusionHeader } from './components/core/Header'; | ||
export { default as AppWrapper } from './components/core/AppWrapper'; | ||
export { default as Button } from './components/general/Button'; | ||
export { default as DataTable, DataTableColumn } from "./components/data/DataTable"; | ||
export { default as Button, ButtonProps } from './components/general/Button'; | ||
export { default as IconButton } from './components/general/IconButton'; | ||
@@ -15,2 +16,3 @@ export { default as ErrorBoundary } from './components/general/ErrorBoundary'; | ||
export { default as TextInput } from "./components/general/TextInput"; | ||
export { default as Pagination, PaginationSkeleton, PaginationChangeHandler } from "./components/general/Pagination"; | ||
export { default as Spinner } from './components/feedback/Spinner'; | ||
@@ -20,2 +22,3 @@ export { default as Banner } from './components/feedback/Banner'; | ||
export { default as Snackbar } from './components/feedback/Snackbar'; | ||
export { SkeletonBar, SkeletonButton } from "./components/feedback/Skeleton"; | ||
export { default as useElevationClassName, Elevation } from './hooks/useElevationClassName'; | ||
@@ -33,2 +36,6 @@ export { default as usePopoverRef } from './hooks/usePopoverRef'; | ||
export { default as useRelativePositioning } from './hooks/useRelativePositioning'; | ||
export { default as useBreakpoint } from './hooks/useBreakpoint'; | ||
export { default as useHorizontalBreakpoint } from './hooks/useHorizontalBreakpoint'; | ||
export { default as useSizeBreakpoint } from './hooks/useSizeBreakpoint'; | ||
export { default as useVerticalBreakpoint } from './hooks/useVerticalBreakpoint'; | ||
export { default as useIcon, IconProps } from './hooks/useIcon'; | ||
@@ -38,2 +45,4 @@ export { WarningIcon, ErrorIcon } from './components/icons/components/alert'; | ||
export { SyncDisabledIcon } from './components/icons/components/notification'; | ||
export { SearchIcon } from './components/icons/components/action'; | ||
export { SearchIcon, SortIcon } from './components/icons/components/action'; | ||
export { PaginationArrow } from './components/icons/components/navigation'; | ||
export { default as styling } from "./styles/styling"; |
{ | ||
"name": "@equinor/fusion-components", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"description": "Common react components used by fusion core and fusion apps", | ||
@@ -36,12 +36,12 @@ "main": "dist/index.js", | ||
"@babel/preset-typescript": "^7.3.3", | ||
"@equinor/fusion": "^0.1.53", | ||
"@storybook/addon-actions": "^5.0.10", | ||
"@equinor/fusion": "^0.1.85", | ||
"@storybook/addon-actions": "^5.1.9", | ||
"@storybook/addon-info": "^5.1.9", | ||
"@storybook/addon-jest": "^5.0.10", | ||
"@storybook/addon-knobs": "^5.0.11", | ||
"@storybook/addon-options": "^5.0.10", | ||
"@storybook/addon-jest": "^5.1.9", | ||
"@storybook/addon-knobs": "^5.1.9", | ||
"@storybook/addon-options": "^5.1.9", | ||
"@storybook/addon-storyshots": "^5.1.9", | ||
"@storybook/addon-viewport": "^5.0.11", | ||
"@storybook/react": "^5.0.10", | ||
"@storybook/theming": "^5.0.11", | ||
"@storybook/addon-viewport": "^5.1.9", | ||
"@storybook/react": "^5.1.9", | ||
"@storybook/theming": "^5.1.9", | ||
"@types/classnames": "^2.2.7", | ||
@@ -82,2 +82,3 @@ "@types/enzyme": "^3.9.1", | ||
"prettier-loader": "^2.1.1", | ||
"prettier-stylelint": "^0.4.2", | ||
"prop-types": "^15.7.2", | ||
@@ -98,3 +99,3 @@ "react": "^16.8.6", | ||
"react": "^16.8.1", | ||
"@equinor/fusion": "^0.1.53", | ||
"@equinor/fusion": "^0.1.66", | ||
"react-router-dom": "^5.0.1", | ||
@@ -101,0 +102,0 @@ "history": "^4.9.0" |
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
183199
196
1382
63
19