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

@stylexjs/stylex

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylexjs/stylex - npm Package Compare versions

Comparing version 0.5.0-alpha.4 to 0.5.0

8

lib/StyleXCSSTypes.d.ts

@@ -240,2 +240,3 @@ /**

| 'inline-grid'
| '-webkit-box'
| 'run-in'

@@ -473,3 +474,3 @@ | 'ruby'

type objectPosition = string;
type opacity = number;
type opacity = number | string;
type order = number;

@@ -1294,3 +1295,2 @@ type orphans = number;

mathStyle?: all | 'normal' | 'compact';
scrollbarWidth?: all | string | number;
scrollBehavior?: all | scrollBehavior;

@@ -1326,3 +1326,4 @@ scrollMargin?: all | number | string;

scrollbarColor?: all | color;
scrollbarWidth?: all | width;
scrollbarGutter?: all | 'auto' | 'stable' | 'stable both-edges';
scrollbarWidth?: all | 'auto' | 'thin' | 'none';
shapeImageThreshold?: all | shapeImageThreshold;

@@ -1420,2 +1421,3 @@ shapeMargin?: all | shapeMargin;

zIndex?: all | zIndex;
zoom?: all | 'normal' | number | string;
}>;

@@ -58,2 +58,8 @@ /**

'::-webkit-scrollbar'?: CSSProperties;
'::-webkit-scrollbar-button'?: CSSProperties;
'::-webkit-scrollbar-thumb'?: CSSProperties;
'::-webkit-scrollbar-track'?: CSSProperties;
'::-webkit-scrollbar-track-piece'?: CSSProperties;
'::-webkit-scrollbar-corner'?: CSSProperties;
'::-webkit-resizer'?: CSSProperties;
// webkit styles used for Search in Safari

@@ -60,0 +66,0 @@ '::-webkit-search-decoration'?: CSSProperties;

{
"name": "@stylexjs/stylex",
"version": "0.5.0-alpha.4",
"version": "0.5.0",
"description": "A library for defining styles for optimized user interfaces.",

@@ -49,3 +49,3 @@ "main": "./lib/stylex.js",

"devDependencies": {
"@stylexjs/scripts": "0.5.0-alpha.4"
"@stylexjs/scripts": "0.5.0"
},

@@ -52,0 +52,0 @@ "jest": {},

@@ -65,3 +65,3 @@ # @stylexjs/stylex

```tsx
import stylex from '@stylexjs/stylex';
import * as stylex from '@stylexjs/stylex';

@@ -82,3 +82,3 @@ const styles = stylex.create({

```tsx
import stylex from '@stylexjs/stylex';
import * as stylex from '@stylexjs/stylex';

@@ -161,3 +161,3 @@ const styles = stylex.create({

```tsx
import stylex from '@stylexjs/stylex';
import * as stylex from '@stylexjs/stylex';

@@ -217,4 +217,2 @@ const styles = stylex.create({

### `StaticStyles<>`

@@ -242,3 +240,3 @@

```tsx
import stylex from '@stylexjs/stylex';
import * as stylex from '@stylexjs/stylex';

@@ -245,0 +243,0 @@ const styles = stylex.create({

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