@contentful/f36-core
Advanced tools
Comparing version 4.65.2 to 4.65.3
@@ -110,2 +110,13 @@ import { SerializedStyles } from '@emotion/core'; | ||
declare type PickUnion<UnionType, Keys> = Exclude<UnionType, Exclude<UnionType, Keys>>; | ||
/** | ||
* Also known as homomorphic. | ||
* Use this custom Omit utility type to preserve extended Record properties. | ||
* | ||
* Why? Using Omit on extended Records does not preserve the structure. | ||
* - https://github.com/microsoft/TypeScript/issues/36981 | ||
* - https://github.com/microsoft/TypeScript/issues/54451 | ||
*/ | ||
declare type MappedOmit<T, K extends keyof T> = { | ||
[P in keyof T as P extends K ? never : P]: T[P]; | ||
}; | ||
@@ -329,2 +340,2 @@ interface FlexInternalProps extends CommonProps, MarginProps, PaddingProps { | ||
export { Box, BoxProps, CommonProps, EntityStatus, ExpandProps, Flex, FlexProps, GlobalStyles, Grid, GridItem, GridItemProps, GridProps, MarginProps, PaddingProps, PickUnion, PolymorphicComponent, PolymorphicProps, PropsWithHTMLElement, ScreenReaderOnly, ScreenReaderOnlyProps, Spacing, Stack, StackProps, UseControllableStateProps, getEntityStatusStyles, mergeRefs, useBox, useControllableState, useId, useImageLoaded }; | ||
export { Box, BoxProps, CommonProps, EntityStatus, ExpandProps, Flex, FlexProps, GlobalStyles, Grid, GridItem, GridItemProps, GridProps, MappedOmit, MarginProps, PaddingProps, PickUnion, PolymorphicComponent, PolymorphicProps, PropsWithHTMLElement, ScreenReaderOnly, ScreenReaderOnlyProps, Spacing, Stack, StackProps, UseControllableStateProps, getEntityStatusStyles, mergeRefs, useBox, useControllableState, useId, useImageLoaded }; |
{ | ||
"name": "@contentful/f36-core", | ||
"version": "4.65.2", | ||
"version": "4.65.3", | ||
"description": "Forma 36 core", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
113769
607