@dhis2/ui-constants
Advanced tools
Comparing version
{ | ||
"name": "@dhis2/ui-constants", | ||
"version": "8.16.0-alpha.1", | ||
"version": "8.16.0-alpha.2", | ||
"description": "Constants used in the UI libs", | ||
@@ -5,0 +5,0 @@ "main": "./build/cjs/index.js", |
@@ -0,1 +1,8 @@ | ||
import { bool } from 'prop-types' | ||
import { | ||
insideAlignmentPropType, | ||
popperPlacementPropType, | ||
popperReferencePropType, | ||
} from '../src/shared-prop-types' | ||
export type ColorBase = 'blue' | 'teal' | 'red' | 'yellow' | 'green' | 'grey' | ||
@@ -64,1 +71,9 @@ export type ColorVariant = | ||
export const theme: Record<ThemeProp, string> | ||
export interface sharedPropTypes { | ||
statusPropType: typeof bool | ||
sizePropType: typeof bool | ||
insideAlignmentPropType: typeof insideAlignmentPropType | ||
popperPlacementPropType: typeof popperPlacementPropType | ||
popperReferencePropType: typeof popperReferencePropType | ||
} |
22196
2.05%677
1.96%