Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ant-design/cssinjs

Package Overview
Dependencies
Maintainers
10
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ant-design/cssinjs - npm Package Compare versions

Comparing version 0.0.0-alpha.38 to 0.0.0-alpha.39

es/theme/createTheme.d.ts

5

es/index.d.ts

@@ -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 };

3

es/index.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc