@navita/engine 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,8 +5,8 @@ var identifiers_alphaIDGenerator = require('./alphaIDGenerator.cjs');
5
5
  class PropertyValueIDGenerator {
6
6
  property = new identifiers_alphaIDGenerator.AlphaIDGenerator();
7
7
  cache = {};
8
- next({ property , media ='' , support ='' , pseudo ='' , value }) {
9
- const propertyKey = `${media}${support}${pseudo}${property}`;
8
+ next({ property , media ='' , support ='' , container ='' , pseudo ='' , value }) {
9
+ const propertyKey = `${media}${support}${container}${pseudo}${property}`;
10
10
  if (this.cache[propertyKey] === undefined) {
11
11
  this.cache[propertyKey] = {
12
12
  key: this.property.next(),
@@ -3,8 +3,8 @@ import { AlphaIDGenerator } from './alphaIDGenerator.mjs';
3
3
  class PropertyValueIDGenerator {
4
4
  property = new AlphaIDGenerator();
5
5
  cache = {};
6
- next({ property , media ='' , support ='' , pseudo ='' , value }) {
7
- const propertyKey = `${media}${support}${pseudo}${property}`;
6
+ next({ property , media ='' , support ='' , container ='' , pseudo ='' , value }) {
7
+ const propertyKey = `${media}${support}${container}${pseudo}${property}`;
8
8
  if (this.cache[propertyKey] === undefined) {
9
9
  this.cache[propertyKey] = {
10
10
  key: this.property.next(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navita/engine",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Navitas CSS-in-JS engine",
5
5
  "keywords": [
6
6
  "css-in-js",