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

@atlaskit/primitives

Package Overview
Dependencies
Maintainers
1
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/primitives - npm Package Compare versions

Comparing version 0.8.8 to 0.8.9

6

CHANGELOG.md
# @atlaskit/primitives
## 0.8.9
### Patch Changes
- [`da1727baf77`](https://bitbucket.org/atlassian/atlassian-frontend/commits/da1727baf77) - Allow non tokenised values to be passed through for tokenisable properties like `padding`. Adds type hinting for zIndex CSS property.
## 0.8.8

@@ -4,0 +10,0 @@

9

dist/cjs/internal/xcss.js

@@ -43,3 +43,2 @@ "use strict";

insetInlineStart: _styleMaps.insetMap,
layer: _styleMaps.layerMap,
left: _styleMaps.dimensionMap,

@@ -72,3 +71,4 @@ maxBlockSize: _styleMaps.dimensionMap,

top: _styleMaps.dimensionMap,
width: _styleMaps.dimensionMap
width: _styleMaps.dimensionMap,
zIndex: _styleMaps.layerMap
};

@@ -122,7 +122,4 @@ var uniqueSymbol = Symbol('Internal symbol to verify xcss function is called safely');

(0, _warnOnce.default)(message);
if (isSafeEnvToThrow()) {
throw new Error(message);
}
}
styleObj[key] = tokenValue;
styleObj[key] = tokenValue !== null && tokenValue !== void 0 ? tokenValue : value;
});

@@ -129,0 +126,0 @@ return styleObj;

{
"name": "@atlaskit/primitives",
"version": "0.8.8",
"version": "0.8.9",
"sideEffects": false
}

@@ -32,3 +32,2 @@ /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */

insetInlineStart: insetMap,
layer: layerMap,
left: dimensionMap,

@@ -61,3 +60,4 @@ maxBlockSize: dimensionMap,

top: dimensionMap,
width: dimensionMap
width: dimensionMap,
zIndex: layerMap
};

@@ -106,7 +106,4 @@ const uniqueSymbol = Symbol('Internal symbol to verify xcss function is called safely');

warnOnce(message);
if (isSafeEnvToThrow()) {
throw new Error(message);
}
}
styleObj[key] = tokenValue;
styleObj[key] = tokenValue !== null && tokenValue !== void 0 ? tokenValue : value;
});

@@ -113,0 +110,0 @@ return styleObj;

{
"name": "@atlaskit/primitives",
"version": "0.8.8",
"version": "0.8.9",
"sideEffects": false
}

@@ -34,3 +34,2 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";

insetInlineStart: insetMap,
layer: layerMap,
left: dimensionMap,

@@ -63,3 +62,4 @@ maxBlockSize: dimensionMap,

top: dimensionMap,
width: dimensionMap
width: dimensionMap,
zIndex: layerMap
};

@@ -113,7 +113,4 @@ var uniqueSymbol = Symbol('Internal symbol to verify xcss function is called safely');

warnOnce(message);
if (isSafeEnvToThrow()) {
throw new Error(message);
}
}
styleObj[key] = tokenValue;
styleObj[key] = tokenValue !== null && tokenValue !== void 0 ? tokenValue : value;
});

@@ -120,0 +117,0 @@ return styleObj;

{
"name": "@atlaskit/primitives",
"version": "0.8.8",
"version": "0.8.9",
"sideEffects": false
}

@@ -452,3 +452,2 @@ import { SerializedStyles } from '@emotion/react';

insetInlineStart?: InsetInlineStart;
layer?: Layer;
left?: Left;

@@ -478,2 +477,3 @@ maxBlockSize?: MaxBlockSize;

width?: Width;
zIndex?: Layer;
};

@@ -480,0 +480,0 @@ declare const spacingProperties: readonly ["padding", "paddingBlock", "paddingBlockStart", "paddingBlockEnd", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "gap", "rowGap", "columnGap"];

{
"name": "@atlaskit/primitives",
"version": "0.8.8",
"version": "0.8.9",
"description": "Primitives are token-backed low-level building blocks.",

@@ -33,2 +33,11 @@ "author": "Atlassian Pty Ltd",

{
"title": "Box",
"folder": "box",
"slug": "primitives/box",
"id": "@atlaskit/primitives/box",
"status": {
"type": "alpha"
}
},
{
"title": "Inline",

@@ -91,4 +100,6 @@ "folder": "inline",

"@atlaskit/icon-object": "*",
"@atlaskit/logo": "*",
"@atlaskit/lozenge": "*",
"@atlaskit/radio": "^5.4.9",
"@atlaskit/range": "^7.0.4",
"@atlaskit/ssr": "*",

@@ -101,2 +112,3 @@ "@atlaskit/tag": "*",

"@atlassian/codegen": "^0.0.1",
"@atlassian/gemini-visual-regression": "^0.0.5",
"@testing-library/react": "^12.1.5",

@@ -103,0 +115,0 @@ "csstype": "^3.1.0",

@@ -943,3 +943,2 @@ <!-- API Report Version: 2.3 -->

insetInlineStart?: InsetInlineStart;
layer?: Layer;
left?: Left;

@@ -969,2 +968,3 @@ maxBlockSize?: MaxBlockSize;

width?: Width;
zIndex?: Layer;
};

@@ -971,0 +971,0 @@

@@ -629,3 +629,2 @@ ## API Report File for "@atlaskit/primitives"

insetInlineStart?: InsetInlineStart;
layer?: Layer;
left?: Left;

@@ -655,2 +654,3 @@ maxBlockSize?: MaxBlockSize;

width?: Width;
zIndex?: Layer;
};

@@ -657,0 +657,0 @@

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