@ant-design/cssinjs
Advanced tools
Comparing version 0.0.0-alpha.38 to 0.0.0-alpha.39
@@ -1,3 +0,2 @@ | ||
import Theme, { createTheme } from './Theme'; | ||
import type { TokenType } from './Theme'; | ||
import Theme from './theme/Theme'; | ||
import useStyleRegister, { extractStyle } from './useStyleRegister'; | ||
@@ -8,3 +7,5 @@ import type { CSSObject, CSSInterpolation } from './useStyleRegister'; | ||
import Keyframes from './Keyframes'; | ||
import type { TokenType } from './theme'; | ||
import { createTheme } from './theme'; | ||
export { Theme, createTheme, useStyleRegister, useCacheToken, createCache, StyleProvider, Keyframes, extractStyle, }; | ||
export type { TokenType, CSSObject, CSSInterpolation }; |
@@ -1,2 +0,2 @@ | ||
import Theme, { createTheme } from './Theme'; | ||
import Theme from './theme/Theme'; | ||
import useStyleRegister, { extractStyle } from './useStyleRegister'; | ||
@@ -6,2 +6,3 @@ import useCacheToken from './useCacheToken'; | ||
import Keyframes from './Keyframes'; | ||
import { createTheme } from './theme'; | ||
export { Theme, createTheme, useStyleRegister, useCacheToken, createCache, StyleProvider, Keyframes, extractStyle }; |
@@ -1,2 +0,2 @@ | ||
import type Theme from './Theme'; | ||
import type Theme from './theme/Theme'; | ||
export interface Option<DerivativeToken> { | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,2 @@ | ||
import Theme, { createTheme } from './Theme'; | ||
import type { TokenType } from './Theme'; | ||
import Theme from './theme/Theme'; | ||
import useStyleRegister, { extractStyle } from './useStyleRegister'; | ||
@@ -8,3 +7,5 @@ import type { CSSObject, CSSInterpolation } from './useStyleRegister'; | ||
import Keyframes from './Keyframes'; | ||
import type { TokenType } from './theme'; | ||
import { createTheme } from './theme'; | ||
export { Theme, createTheme, useStyleRegister, useCacheToken, createCache, StyleProvider, Keyframes, extractStyle, }; | ||
export type { TokenType, CSSObject, CSSInterpolation }; |
@@ -37,3 +37,3 @@ "use strict"; | ||
get: function get() { | ||
return _Theme.createTheme; | ||
return _theme.createTheme; | ||
} | ||
@@ -60,3 +60,3 @@ }); | ||
var _Theme = _interopRequireWildcard(require("./Theme")); | ||
var _Theme = _interopRequireDefault(require("./theme/Theme")); | ||
@@ -71,4 +71,6 @@ var _useStyleRegister = _interopRequireWildcard(require("./useStyleRegister")); | ||
var _theme = require("./theme"); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } |
@@ -1,2 +0,2 @@ | ||
import type Theme from './Theme'; | ||
import type Theme from './theme/Theme'; | ||
export interface Option<DerivativeToken> { | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "@ant-design/cssinjs", | ||
"version": "0.0.0-alpha.38", | ||
"version": "0.0.0-alpha.39", | ||
"description": "Component level cssinjs resolution for antd", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
95276
55
1977