@mattsjones/css-core
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -5,3 +5,3 @@ 'use strict'; | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('./generateCss-d17b074f.browser.cjs.js'); | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('./generateCss-b6aae341.browser.cjs.js'); | ||
var adapter_dist_mattsjonesCssCoreAdapter = require('../adapter/dist/mattsjones-css-core-adapter.browser.cjs.js'); | ||
@@ -35,2 +35,7 @@ var hash = require('@emotion/hash'); | ||
styleSheet = styleEl.sheet; | ||
if (!styleSheet) { | ||
throw new Error('Could create stylesheet'); | ||
} | ||
return styleSheet; | ||
@@ -44,5 +49,3 @@ } | ||
for (const rule of css) { | ||
var _getStylesheet; | ||
(_getStylesheet = getStylesheet()) === null || _getStylesheet === void 0 ? void 0 : _getStylesheet.insertRule(rule); | ||
getStylesheet().insertRule(rule); | ||
} | ||
@@ -49,0 +52,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { g as generateCss, s as sanitiseIdent } from './generateCss-e637d1b8.browser.esm.js'; | ||
import { g as generateCss, s as sanitiseIdent } from './generateCss-b00bb8d0.browser.esm.js'; | ||
import { registerClassName, appendCss, setAdapter } from '../adapter/dist/mattsjones-css-core-adapter.browser.esm.js'; | ||
@@ -25,2 +25,7 @@ import hash from '@emotion/hash'; | ||
styleSheet = styleEl.sheet; | ||
if (!styleSheet) { | ||
throw new Error('Could create stylesheet'); | ||
} | ||
return styleSheet; | ||
@@ -34,5 +39,3 @@ } | ||
for (const rule of css) { | ||
var _getStylesheet; | ||
(_getStylesheet = getStylesheet()) === null || _getStylesheet === void 0 ? void 0 : _getStylesheet.insertRule(rule); | ||
getStylesheet().insertRule(rule); | ||
} | ||
@@ -39,0 +42,0 @@ }, |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('./generateCss-2815bb5c.cjs.dev.js'); | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('./generateCss-6be1a9e9.cjs.dev.js'); | ||
var adapter_dist_mattsjonesCssCoreAdapter = require('../adapter/dist/mattsjones-css-core-adapter.cjs.dev.js'); | ||
@@ -35,2 +35,7 @@ var hash = require('@emotion/hash'); | ||
styleSheet = styleEl.sheet; | ||
if (!styleSheet) { | ||
throw new Error('Could create stylesheet'); | ||
} | ||
return styleSheet; | ||
@@ -44,5 +49,3 @@ } | ||
for (const rule of css) { | ||
var _getStylesheet; | ||
(_getStylesheet = getStylesheet()) === null || _getStylesheet === void 0 ? void 0 : _getStylesheet.insertRule(rule); | ||
getStylesheet().insertRule(rule); | ||
} | ||
@@ -49,0 +52,0 @@ }, |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('./generateCss-df5d010f.cjs.prod.js'); | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('./generateCss-1c3288df.cjs.prod.js'); | ||
var adapter_dist_mattsjonesCssCoreAdapter = require('../adapter/dist/mattsjones-css-core-adapter.cjs.prod.js'); | ||
@@ -35,2 +35,7 @@ var hash = require('@emotion/hash'); | ||
styleSheet = styleEl.sheet; | ||
if (!styleSheet) { | ||
throw new Error('Could create stylesheet'); | ||
} | ||
return styleSheet; | ||
@@ -44,5 +49,3 @@ } | ||
for (const rule of css) { | ||
var _getStylesheet; | ||
(_getStylesheet = getStylesheet()) === null || _getStylesheet === void 0 ? void 0 : _getStylesheet.insertRule(rule); | ||
getStylesheet().insertRule(rule); | ||
} | ||
@@ -49,0 +52,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { g as generateCss, s as sanitiseIdent } from './generateCss-0e810b9b.esm.js'; | ||
import { g as generateCss, s as sanitiseIdent } from './generateCss-23bcc40e.esm.js'; | ||
import { registerClassName, appendCss, setAdapter } from '../adapter/dist/mattsjones-css-core-adapter.esm.js'; | ||
@@ -25,2 +25,7 @@ import hash from '@emotion/hash'; | ||
styleSheet = styleEl.sheet; | ||
if (!styleSheet) { | ||
throw new Error('Could create stylesheet'); | ||
} | ||
return styleSheet; | ||
@@ -34,5 +39,3 @@ } | ||
for (const rule of css) { | ||
var _getStylesheet; | ||
(_getStylesheet = getStylesheet()) === null || _getStylesheet === void 0 ? void 0 : _getStylesheet.insertRule(rule); | ||
getStylesheet().insertRule(rule); | ||
} | ||
@@ -39,0 +42,0 @@ }, |
@@ -7,3 +7,3 @@ 'use strict'; | ||
require('postcss'); | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('../../dist/generateCss-d17b074f.browser.cjs.js'); | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('../../dist/generateCss-b6aae341.browser.cjs.js'); | ||
require('@emotion/hash'); | ||
@@ -10,0 +10,0 @@ require('lodash/each'); |
import 'postcss-js'; | ||
import 'postcss'; | ||
export { g as generateCss } from '../../dist/generateCss-e637d1b8.browser.esm.js'; | ||
export { g as generateCss } from '../../dist/generateCss-b00bb8d0.browser.esm.js'; | ||
import '@emotion/hash'; | ||
@@ -5,0 +5,0 @@ import 'lodash/each'; |
@@ -7,3 +7,3 @@ 'use strict'; | ||
require('postcss'); | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('../../dist/generateCss-2815bb5c.cjs.dev.js'); | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('../../dist/generateCss-6be1a9e9.cjs.dev.js'); | ||
require('@emotion/hash'); | ||
@@ -10,0 +10,0 @@ require('lodash/each'); |
@@ -7,3 +7,3 @@ 'use strict'; | ||
require('postcss'); | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('../../dist/generateCss-df5d010f.cjs.prod.js'); | ||
var generateCss_dist_mattsjonesCssCoreGenerateCss = require('../../dist/generateCss-1c3288df.cjs.prod.js'); | ||
require('@emotion/hash'); | ||
@@ -10,0 +10,0 @@ require('lodash/each'); |
import 'postcss-js'; | ||
import 'postcss'; | ||
export { g as generateCss } from '../../dist/generateCss-0e810b9b.esm.js'; | ||
export { g as generateCss } from '../../dist/generateCss-23bcc40e.esm.js'; | ||
import '@emotion/hash'; | ||
@@ -5,0 +5,0 @@ import 'lodash/each'; |
{ | ||
"name": "@mattsjones/css-core", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "dist/mattsjones-css-core.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/mattsjones-css-core.esm.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2237
91545