@highlight-ui/icon
Advanced tools
Comparing version 5.2.1 to 5.2.2
@@ -9,3 +9,3 @@ 'use strict'; | ||
var utilsCommons = require('@highlight-ui/utils-commons'); | ||
var iconColors = require('@highlight-ui/tokens/dist/iconColors'); | ||
var tokens = require('@highlight-ui/tokens'); | ||
function _interopDefaultLegacy(e) { | ||
@@ -53,6 +53,6 @@ return e && typeof e === 'object' && 'default' in e ? e : { | ||
var styles$1 = { | ||
"iconColor": "Icon-module__CLA8sueg__v5-2-1", | ||
"spin": "Icon-module__zqGixWV1__v5-2-1", | ||
"rotate": "Icon-module__nc9ZsMZi__v5-2-1", | ||
"block": "Icon-module__TDwEUoXL__v5-2-1" | ||
"iconColor": "Icon-module__CLA8sueg__v5-2-2", | ||
"spin": "Icon-module__zqGixWV1__v5-2-2", | ||
"rotate": "Icon-module__nc9ZsMZi__v5-2-2", | ||
"block": "Icon-module__TDwEUoXL__v5-2-2" | ||
}; | ||
@@ -82,3 +82,3 @@ var familyPrefixMap = { | ||
var appliedStyles = color ? { | ||
'--icon-color': "" + iconColors.iconColorTokens[color], | ||
'--icon-color': "" + tokens.iconColorTokens[color], | ||
fontSize: size | ||
@@ -98,7 +98,7 @@ } : { | ||
var styles = { | ||
"interactiveIcon": "InteractiveIcon-module__CcfhyHJ-__v5-2-1", | ||
"clickableIcon": "InteractiveIcon-module__-2I2f7uu__v5-2-1", | ||
"interactive-inherit": "InteractiveIcon-module__l2xeeiv9__v5-2-1", | ||
"interactive-icon-default": "InteractiveIcon-module__UEt7NSD1__v5-2-1", | ||
"interactive-icon-subdued": "InteractiveIcon-module__fVvxiaw4__v5-2-1" | ||
"interactiveIcon": "InteractiveIcon-module__CcfhyHJ-__v5-2-2", | ||
"clickableIcon": "InteractiveIcon-module__-2I2f7uu__v5-2-2", | ||
"interactive-inherit": "InteractiveIcon-module__l2xeeiv9__v5-2-2", | ||
"interactive-icon-default": "InteractiveIcon-module__UEt7NSD1__v5-2-2", | ||
"interactive-icon-subdued": "InteractiveIcon-module__fVvxiaw4__v5-2-2" | ||
}; | ||
@@ -105,0 +105,0 @@ var InteractiveIcon = function (_a) { |
import React from 'react'; | ||
import { FontFamily, PropsWithMetadata } from '@highlight-ui/utils-commons'; | ||
import { IconColorTokenType } from '@highlight-ui/tokens/dist/iconColors'; | ||
import { IconColorTokenType } from '@highlight-ui/tokens'; | ||
export declare type IconColorToken = IconColorTokenType; | ||
@@ -5,0 +5,0 @@ export declare type IconProps = PropsWithMetadata<{ |
import React from 'react'; | ||
import classnames from 'classnames'; | ||
import { parseMetadata, suffixMetadata } from '@highlight-ui/utils-commons'; | ||
import { iconColorTokens } from '@highlight-ui/tokens/dist/iconColors'; | ||
import { iconColorTokens } from '@highlight-ui/tokens'; | ||
@@ -40,6 +40,6 @@ /****************************************************************************** | ||
var styles$1 = { | ||
"iconColor": "Icon-module__CLA8sueg__v5-2-1", | ||
"spin": "Icon-module__zqGixWV1__v5-2-1", | ||
"rotate": "Icon-module__nc9ZsMZi__v5-2-1", | ||
"block": "Icon-module__TDwEUoXL__v5-2-1" | ||
"iconColor": "Icon-module__CLA8sueg__v5-2-2", | ||
"spin": "Icon-module__zqGixWV1__v5-2-2", | ||
"rotate": "Icon-module__nc9ZsMZi__v5-2-2", | ||
"block": "Icon-module__TDwEUoXL__v5-2-2" | ||
}; | ||
@@ -84,7 +84,7 @@ var familyPrefixMap = { | ||
var styles = { | ||
"interactiveIcon": "InteractiveIcon-module__CcfhyHJ-__v5-2-1", | ||
"clickableIcon": "InteractiveIcon-module__-2I2f7uu__v5-2-1", | ||
"interactive-inherit": "InteractiveIcon-module__l2xeeiv9__v5-2-1", | ||
"interactive-icon-default": "InteractiveIcon-module__UEt7NSD1__v5-2-1", | ||
"interactive-icon-subdued": "InteractiveIcon-module__fVvxiaw4__v5-2-1" | ||
"interactiveIcon": "InteractiveIcon-module__CcfhyHJ-__v5-2-2", | ||
"clickableIcon": "InteractiveIcon-module__-2I2f7uu__v5-2-2", | ||
"interactive-inherit": "InteractiveIcon-module__l2xeeiv9__v5-2-2", | ||
"interactive-icon-default": "InteractiveIcon-module__UEt7NSD1__v5-2-2", | ||
"interactive-icon-subdued": "InteractiveIcon-module__fVvxiaw4__v5-2-2" | ||
}; | ||
@@ -91,0 +91,0 @@ var InteractiveIcon = function (_a) { |
import React from 'react'; | ||
import { FontFamily, PropsWithMetadata } from '@highlight-ui/utils-commons'; | ||
import { IconColorTokenType } from '@highlight-ui/tokens/dist/iconColors'; | ||
import { IconColorTokenType } from '@highlight-ui/tokens'; | ||
export declare type IconColorToken = IconColorTokenType; | ||
@@ -5,0 +5,0 @@ export declare type IconProps = PropsWithMetadata<{ |
{ | ||
"name": "@highlight-ui/icon", | ||
"version": "5.2.1", | ||
"version": "5.2.2", | ||
"author": "Personio GmbH & Co. KG", | ||
@@ -32,3 +32,3 @@ "main": "dist/cjs/index.js", | ||
"@highlight-ui/configs-scripts": "^3.2.3", | ||
"@highlight-ui/theme": "^9.3.10", | ||
"@highlight-ui/theme": "^9.3.11", | ||
"@testing-library/dom": "8.19.0", | ||
@@ -47,6 +47,6 @@ "@testing-library/react": "12.1.5", | ||
"dependencies": { | ||
"@highlight-ui/tokens": "^4.2.0", | ||
"@highlight-ui/utils-commons": "^2.4.1" | ||
"@highlight-ui/tokens": "^4.2.1", | ||
"@highlight-ui/utils-commons": "^2.4.2" | ||
}, | ||
"gitHead": "6c64bc0662af8b56c00c1ea7c68096dc74f4bd0b" | ||
"gitHead": "5c708521e181e6d7374660c727fe75453fdeabf9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
75292