@nordcom/nordstar-system
Advanced tools
Comparing version 0.0.23 to 0.0.24-unstable-20231214101114
import { NordstarProvider } from './nordstar-provider'; | ||
import { forwardRef } from './utils'; | ||
export type { NordstarProviderProps, NordstarTheme } from './nordstar-provider'; | ||
export type { As, InternalForwardRefRenderFunction, MergeWithAs, OmitCommonProps, PropsOf, RightJoinProps } from './utils'; | ||
export type { As, CSSCustomProperties, InternalForwardRefRenderFunction, MergeWithAs, OmitCommonProps, PropsOf, RightJoinProps } from './utils'; | ||
export { NordstarProvider, forwardRef }; |
@@ -18,4 +18,7 @@ import type { ComponentPropsWithoutRef, ElementType, ForwardRefRenderFunction, ReactElement, WeakValidationMap } from 'react'; | ||
}; | ||
export type CSSCustomProperties = { | ||
[key: `--${string}`]: string | number; | ||
}; | ||
export declare function forwardRef<Component extends As, Props extends object, OmitKeys extends keyof any = never>(component: ForwardRefRenderFunction<any, RightJoinProps<PropsOf<Component>, Props> & { | ||
as?: As; | ||
}>): InternalForwardRefRenderFunction<Component, Props, OmitKeys>; |
@@ -5,3 +5,3 @@ { | ||
"type": "module", | ||
"version": "0.0.23", | ||
"version": "0.0.24-unstable-20231214101114", | ||
"description": "Utilities used by all of the Nordstar Components, shouldn't be used directly outside of the Nordstar library.", | ||
@@ -8,0 +8,0 @@ "main": "dist/index.js", |
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
12165
262