@stoplight/mosaic
Advanced tools
Comparing version 1.20.0 to 1.21.0
import * as React from 'react'; | ||
import { CSSProperties } from 'react'; | ||
import { BorderProps, IMarginProps } from '../../enhancers'; | ||
import { BorderProps, FontSizeVals, IMarginProps } from '../../enhancers'; | ||
import { IIconProps } from '../Icon'; | ||
declare type AvatarSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl'; | ||
export declare const sizes: Record<AvatarSize, [number, FontSizeVals, FontSizeVals]>; | ||
export declare type AvatarProps = IMarginProps & Pick<BorderProps, 'border' | 'borderColor'> & { | ||
size?: 'sm' | 'md' | 'lg' | 'xl' | '2xl'; | ||
size?: AvatarSize; | ||
className?: string; | ||
@@ -54,3 +56,3 @@ /** | ||
export declare const Avatar: React.MemoExoticComponent<React.ForwardRefExoticComponent<IMarginProps & Pick<BorderProps, "border" | "borderColor"> & { | ||
size?: 'sm' | 'md' | 'lg' | 'xl' | '2xl'; | ||
size?: AvatarSize; | ||
className?: string; | ||
@@ -102,1 +104,2 @@ /** | ||
} & React.RefAttributes<HTMLDivElement>>>; | ||
export {}; |
@@ -1,1 +0,2 @@ | ||
export * from './Avatar'; | ||
export type { AvatarProps } from './Avatar'; | ||
export { Avatar } from './Avatar'; |
export * from './components/Article'; | ||
export * from './components/AspectRatio'; | ||
export * from './components/Avatar'; | ||
export * from './components/AvatarList'; | ||
export * from './components/Badge'; | ||
@@ -5,0 +6,0 @@ export * from './components/Box'; |
{ | ||
"name": "@stoplight/mosaic", | ||
"version": "1.20.0", | ||
"version": "1.21.0", | ||
"sideEffects": false, | ||
@@ -20,2 +20,3 @@ "license": "Apache-2.0", | ||
"react-fast-compare": "^3.2.0", | ||
"react-overflow-list": "^0.5.0", | ||
"@fortawesome/fontawesome-svg-core": "^1.2.35", | ||
@@ -22,0 +23,0 @@ "@fortawesome/free-solid-svg-icons": "^5.15.3", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
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
3857785
187
33801
24
+ Addedreact-overflow-list@^0.5.0
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@types/js-cookie@2.2.7(transitive)
+ Added@xobotyi/scrollbar-width@1.9.5(transitive)
+ Addedcss-in-js-utils@3.1.0(transitive)
+ Addedcss-tree@1.1.3(transitive)
+ Addederror-stack-parser@2.1.4(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-shallow-equal@1.0.0(transitive)
+ Addedfastest-stable-stringify@2.0.2(transitive)
+ Addedhyphenate-style-name@1.1.0(transitive)
+ Addedinline-style-prefixer@7.0.1(transitive)
+ Addedjs-cookie@2.2.1(transitive)
+ Addedmdn-data@2.0.14(transitive)
+ Addednano-css@5.6.2(transitive)
+ Addedreact-dom@18.3.1(transitive)
+ Addedreact-overflow-list@0.5.0(transitive)
+ Addedreact-universal-interface@0.6.2(transitive)
+ Addedreact-use@17.5.1(transitive)
+ Addedresize-observer-polyfill@1.5.1(transitive)
+ Addedrtl-css-js@1.16.1(transitive)
+ Addedscheduler@0.23.2(transitive)
+ Addedscreenfull@5.2.0(transitive)
+ Addedset-harmonic-interval@1.0.1(transitive)
+ Addedsource-map@0.5.60.6.1(transitive)
+ Addedstack-generator@2.0.10(transitive)
+ Addedstackframe@1.3.4(transitive)
+ Addedstacktrace-gps@3.1.2(transitive)
+ Addedstacktrace-js@2.0.2(transitive)
+ Addedstylis@4.3.4(transitive)
+ Addedthrottle-debounce@3.0.1(transitive)
+ Addedts-easing@0.2.0(transitive)