@ant-design/cssinjs
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -6,3 +6,3 @@ import useCacheToken from './hooks/useCacheToken'; | ||
import type { Linter } from './linters'; | ||
import { legacyNotSelectorLinter, logicalPropertiesLinter } from './linters'; | ||
import { legacyNotSelectorLinter, logicalPropertiesLinter, parentSelectorLinter } from './linters'; | ||
import { createCache, StyleProvider } from './StyleContext'; | ||
@@ -13,3 +13,3 @@ import type { DerivativeFunc, TokenType } from './theme'; | ||
import legacyLogicalPropertiesTransformer from './transformers/legacyLogicalProperties'; | ||
export { Theme, createTheme, useStyleRegister, useCacheToken, createCache, StyleProvider, Keyframes, extractStyle, legacyLogicalPropertiesTransformer, logicalPropertiesLinter, legacyNotSelectorLinter, }; | ||
export { Theme, createTheme, useStyleRegister, useCacheToken, createCache, StyleProvider, Keyframes, extractStyle, legacyLogicalPropertiesTransformer, logicalPropertiesLinter, legacyNotSelectorLinter, parentSelectorLinter, }; | ||
export type { TokenType, CSSObject, CSSInterpolation, DerivativeFunc, Transformer, Linter, }; |
import useCacheToken from "./hooks/useCacheToken"; | ||
import useStyleRegister, { extractStyle } from "./hooks/useStyleRegister"; | ||
import Keyframes from "./Keyframes"; | ||
import { legacyNotSelectorLinter, logicalPropertiesLinter } from "./linters"; | ||
import { legacyNotSelectorLinter, logicalPropertiesLinter, parentSelectorLinter } from "./linters"; | ||
import { createCache, StyleProvider } from "./StyleContext"; | ||
@@ -10,2 +10,2 @@ import { createTheme, Theme } from "./theme"; | ||
legacyLogicalPropertiesTransformer, // Linters | ||
logicalPropertiesLinter, legacyNotSelectorLinter }; | ||
logicalPropertiesLinter, legacyNotSelectorLinter, parentSelectorLinter }; |
@@ -6,3 +6,3 @@ import useCacheToken from './hooks/useCacheToken'; | ||
import type { Linter } from './linters'; | ||
import { legacyNotSelectorLinter, logicalPropertiesLinter } from './linters'; | ||
import { legacyNotSelectorLinter, logicalPropertiesLinter, parentSelectorLinter } from './linters'; | ||
import { createCache, StyleProvider } from './StyleContext'; | ||
@@ -13,3 +13,3 @@ import type { DerivativeFunc, TokenType } from './theme'; | ||
import legacyLogicalPropertiesTransformer from './transformers/legacyLogicalProperties'; | ||
export { Theme, createTheme, useStyleRegister, useCacheToken, createCache, StyleProvider, Keyframes, extractStyle, legacyLogicalPropertiesTransformer, logicalPropertiesLinter, legacyNotSelectorLinter, }; | ||
export { Theme, createTheme, useStyleRegister, useCacheToken, createCache, StyleProvider, Keyframes, extractStyle, legacyLogicalPropertiesTransformer, logicalPropertiesLinter, legacyNotSelectorLinter, parentSelectorLinter, }; | ||
export type { TokenType, CSSObject, CSSInterpolation, DerivativeFunc, Transformer, Linter, }; |
@@ -64,2 +64,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "parentSelectorLinter", { | ||
enumerable: true, | ||
get: function get() { | ||
return _linters.parentSelectorLinter; | ||
} | ||
}); | ||
Object.defineProperty(exports, "useCacheToken", { | ||
@@ -66,0 +72,0 @@ enumerable: true, |
{ | ||
"name": "@ant-design/cssinjs", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "Component level cssinjs resolution for antd", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
137335
2992