@highlight-ui/utils-commons
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.0.2](https://gitlab.personio-internal.de/personio/platform/highlight-ui/compare/@highlight-ui/utils-commons@1.0.1...@highlight-ui/utils-commons@1.0.2) (2021-04-21) | ||
### Bug Fixes | ||
* **theme-icon_map_types:** make the types of theme and icon maps more explicit ([9123cf7](https://gitlab.personio-internal.de/personio/platform/highlight-ui/commit/9123cf760127759c2572e9c07efee26069048c9f)) | ||
## 1.0.1 (2021-04-19) | ||
@@ -8,0 +19,0 @@ |
@@ -1,25 +0,5 @@ | ||
export declare const ICON_MAP: { | ||
success: { | ||
name: string; | ||
}; | ||
info: { | ||
name: string; | ||
}; | ||
warning: { | ||
name: string; | ||
}; | ||
danger: { | ||
name: string; | ||
}; | ||
}; | ||
export declare const THEME_COLOR_TOKEN_MAP: { | ||
default: string; | ||
primary: string; | ||
success: string; | ||
info: string; | ||
warning: string; | ||
'warning-light': string; | ||
danger: string; | ||
dark: string; | ||
light: string; | ||
}; | ||
import { ColorToken, Theme } from './types'; | ||
export declare const ICON_MAP: Record<Extract<Theme, 'success' | 'info' | 'warning' | 'danger'>, { | ||
name: string; | ||
}>; | ||
export declare const THEME_COLOR_TOKEN_MAP: Record<Extract<Theme, 'default' | 'primary' | 'success' | 'info' | 'warning' | 'warning-light' | 'danger' | 'dark' | 'light'>, ColorToken>; |
@@ -1,25 +0,5 @@ | ||
export declare const ICON_MAP: { | ||
success: { | ||
name: string; | ||
}; | ||
info: { | ||
name: string; | ||
}; | ||
warning: { | ||
name: string; | ||
}; | ||
danger: { | ||
name: string; | ||
}; | ||
}; | ||
export declare const THEME_COLOR_TOKEN_MAP: { | ||
default: string; | ||
primary: string; | ||
success: string; | ||
info: string; | ||
warning: string; | ||
'warning-light': string; | ||
danger: string; | ||
dark: string; | ||
light: string; | ||
}; | ||
import { ColorToken, Theme } from './types'; | ||
export declare const ICON_MAP: Record<Extract<Theme, 'success' | 'info' | 'warning' | 'danger'>, { | ||
name: string; | ||
}>; | ||
export declare const THEME_COLOR_TOKEN_MAP: Record<Extract<Theme, 'default' | 'primary' | 'success' | 'info' | 'warning' | 'warning-light' | 'danger' | 'dark' | 'light'>, ColorToken>; |
{ | ||
"name": "@highlight-ui/utils-commons", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": "PPU", | ||
@@ -38,3 +38,3 @@ "main": "dist/cjs/index.js", | ||
}, | ||
"gitHead": "b176737ac726b343182f58ffc444a010ed219874" | ||
"gitHead": "203d0d9477007e92339f0a81724ce75efaa3cec6" | ||
} |
Sorry, the diff of this file is not supported yet
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
21242
185