New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@equinor/fusion-web-theme

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-web-theme - npm Package Compare versions

Comparing version

to
0.1.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.1.2](https://github.com/equinor/fusion-web/compare/@equinor/fusion-web-theme@0.1.1...@equinor/fusion-web-theme@0.1.2) (2021-06-02)
**Note:** Version bump only for package @equinor/fusion-web-theme
## [0.1.1](https://github.com/equinor/fusion-web/compare/@equinor/fusion-web-theme@0.1.0...@equinor/fusion-web-theme@0.1.1) (2021-05-11)

@@ -8,0 +16,0 @@

10

dist/style-property.js

@@ -23,7 +23,13 @@ const camel2kebab = (x) => x.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();

const { value, attributes } = this;
return Object.assign(Object.assign({}, value), Object.keys(attributes).reduce((cur, key) => Object.assign(cur, { [key]: StyleProperty.makeVariable(attributes[key]) }), {}));
return {
...value,
...Object.keys(attributes).reduce((cur, key) => Object.assign(cur, { [key]: StyleProperty.makeVariable(attributes[key]) }), {}),
};
}
get css() {
const { attributes, style } = this;
return StyleProperty.makeCss(Object.assign(Object.assign({}, style), Object.keys(attributes).reduce((cur, key) => Object.assign(cur, { [key]: StyleProperty.makeVariable(attributes[key]) }), {})));
return StyleProperty.makeCss({
...style,
...Object.keys(attributes).reduce((cur, key) => Object.assign(cur, { [key]: StyleProperty.makeVariable(attributes[key]) }), {}),
});
}

@@ -30,0 +36,0 @@ get variables() {

4

package.json
{
"name": "@equinor/fusion-web-theme",
"version": "0.1.1",
"version": "0.1.2",
"description": "fusion web theme",

@@ -44,3 +44,3 @@ "keywords": [

},
"gitHead": "08c867578643c79e9f7ddc94f2f355899ffe2439"
"gitHead": "8faa76054732e7cded45f8b4b6a87aeed1c90b71"
}

Sorry, the diff of this file is not supported yet