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

@xstyled/styled-components

Package Overview
Dependencies
Maintainers
2
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xstyled/styled-components - npm Package Compare versions

Comparing version 4.0.0-beta.0 to 4.0.0-beta.1

15

dist/index.d.ts
import * as styled_components from 'styled-components';
import { css as css$1, StyledInstance, Styled, createGlobalStyle as createGlobalStyle$1 } from 'styled-components';
import { createGlobalStyle as createGlobalStyle$1, css as css$1, Styled, StyledInstance, FastOmit, SupportedHTMLElements, IStyledComponent } from 'styled-components';
export { ServerStyleSheet, StyleSheetManager, ThemeConsumer, ThemeContext, ThemeProvider, isStyledComponent, keyframes, useTheme, withTheme } from 'styled-components';

@@ -50,11 +50,8 @@ import * as _xstyled_system from '@xstyled/system';

type XCreateGlobalStyle = typeof createGlobalStyle$1;
type XCSSFunction = typeof css$1;
type JSXElementKeys = keyof JSX.IntrinsicElements;
type X<TGen extends StyleGenerator> = {
[Key in JSXElementKeys]: StyledInstance<'web', Key, StyleGeneratorProps<TGen>>;
};
type BoxStyledTags<TProps extends object> = {
[Key in keyof BoxElements]: StyledInstance<'web', BoxElements[Key], Omit<JSX.IntrinsicElements[BoxElements[Key]], keyof TProps> & TProps>;
[Key in keyof BoxElements]: StyledInstance<'web', BoxElements[Key], FastOmit<JSX.IntrinsicElements[BoxElements[Key]], keyof TProps> & TProps>;
};

@@ -64,3 +61,5 @@ interface XStyled<TGen extends StyleGenerator> extends Styled, BoxStyledTags<StyleGeneratorProps<TGen>> {

type XCreateGlobalStyle = typeof createGlobalStyle$1;
type X<TGen extends StyleGenerator> = {
[Key in SupportedHTMLElements]: IStyledComponent<'web', FastOmit<JSX.IntrinsicElements[Key], keyof StyleGeneratorProps<TGen>> & StyleGeneratorProps<TGen>>;
};

@@ -67,0 +66,0 @@ interface XStyledSet<TGen extends StyleGenerator> {

{
"name": "@xstyled/styled-components",
"description": "A utility-first CSS-in-JS framework built for React (styled-components bindings).",
"version": "4.0.0-beta.0",
"version": "4.0.0-beta.1",
"keywords": [

@@ -6,0 +6,0 @@ "styled-components",

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

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