@khanacademy/wonder-blocks-core
Advanced tools
Comparing version 0.0.0-PR2226-20240523005325 to 0.0.0-PR2226-20240523161637
# @khanacademy/wonder-blocks-core | ||
## 0.0.0-PR2226-20240523005325 | ||
## 0.0.0-PR2226-20240523161637 | ||
@@ -5,0 +5,0 @@ ### Major Changes |
@@ -37,3 +37,32 @@ import * as React from 'react'; | ||
function styleInject(css, ref) { | ||
if ( ref === void 0 ) ref = {}; | ||
var insertAt = ref.insertAt; | ||
if (!css || typeof document === 'undefined') { return; } | ||
var head = document.head || document.getElementsByTagName('head')[0]; | ||
var style = document.createElement('style'); | ||
style.type = 'text/css'; | ||
if (insertAt === 'top') { | ||
if (head.firstChild) { | ||
head.insertBefore(style, head.firstChild); | ||
} else { | ||
head.appendChild(style); | ||
} | ||
} else { | ||
head.appendChild(style); | ||
} | ||
if (style.styleSheet) { | ||
style.styleSheet.cssText = css; | ||
} else { | ||
style.appendChild(document.createTextNode(css)); | ||
} | ||
} | ||
var css_248z$1 = ".CBezm{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}._2n28Y{margin-bottom:0;margin-top:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRleHQubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUNJLGtDQUFtQyxDQUNuQyxpQ0FDSixDQUVBLFFBRUksZUFBZ0IsQ0FEaEIsWUFFSiIsImZpbGUiOiJ0ZXh0Lm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIudGV4dCB7XG4gICAgLXdlYmtpdC1mb250LXNtb290aGluZzogYW50aWFsaWFzZWQ7XG4gICAgLW1vei1vc3gtZm9udC1zbW9vdGhpbmc6IGdyYXlzY2FsZTtcbn1cblxuLmhlYWRlciB7XG4gICAgbWFyZ2luLXRvcDogMDtcbiAgICBtYXJnaW4tYm90dG9tOiAwO1xufSJdfQ== */"; | ||
var styles$1 = {"text":"CBezm","header":"_2n28Y"}; | ||
styleInject(css_248z$1); | ||
@@ -112,3 +141,5 @@ const _excluded$2 = ["children", "style", "tag", "testId"]; | ||
var css_248z = ".a-Fj9{align-items:stretch;border-style:solid;border-width:0;box-sizing:border-box;display:flex;flex-direction:column;margin:0;min-height:0;min-width:0;padding:0;position:relative;z-index:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInZpZXcubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUNJLG1CQUFvQixDQUVwQixrQkFBbUIsQ0FEbkIsY0FBZSxDQUVmLHFCQUFzQixDQUN0QixZQUFhLENBQ2IscUJBQXNCLENBQ3RCLFFBQVMsQ0FLVCxZQUFhLENBQ2IsV0FBWSxDQUxaLFNBQVUsQ0FDVixpQkFBa0IsQ0FDbEIsU0FJSiIsImZpbGUiOiJ2aWV3Lm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZGVmYXVsdCB7XG4gICAgYWxpZ24taXRlbXM6IHN0cmV0Y2g7XG4gICAgYm9yZGVyLXdpZHRoOiAwO1xuICAgIGJvcmRlci1zdHlsZTogc29saWQ7XG4gICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgbWFyZ2luOiAwO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHotaW5kZXg6IDA7XG4gICAgLyogZml4IGZsZXhib3ggYnVncyAqL1xuICAgIG1pbi1oZWlnaHQ6IDA7XG4gICAgbWluLXdpZHRoOiAwO1xufSJdfQ== */"; | ||
var styles = {"default":"a-Fj9"}; | ||
styleInject(css_248z); | ||
@@ -115,0 +146,0 @@ const _excluded$1 = ["style", "testId", "tag"]; |
@@ -60,3 +60,32 @@ 'use strict'; | ||
function styleInject(css, ref) { | ||
if ( ref === void 0 ) ref = {}; | ||
var insertAt = ref.insertAt; | ||
if (!css || typeof document === 'undefined') { return; } | ||
var head = document.head || document.getElementsByTagName('head')[0]; | ||
var style = document.createElement('style'); | ||
style.type = 'text/css'; | ||
if (insertAt === 'top') { | ||
if (head.firstChild) { | ||
head.insertBefore(style, head.firstChild); | ||
} else { | ||
head.appendChild(style); | ||
} | ||
} else { | ||
head.appendChild(style); | ||
} | ||
if (style.styleSheet) { | ||
style.styleSheet.cssText = css; | ||
} else { | ||
style.appendChild(document.createTextNode(css)); | ||
} | ||
} | ||
var css_248z$1 = ".CBezm{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}._2n28Y{margin-bottom:0;margin-top:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRleHQubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUNJLGtDQUFtQyxDQUNuQyxpQ0FDSixDQUVBLFFBRUksZUFBZ0IsQ0FEaEIsWUFFSiIsImZpbGUiOiJ0ZXh0Lm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIudGV4dCB7XG4gICAgLXdlYmtpdC1mb250LXNtb290aGluZzogYW50aWFsaWFzZWQ7XG4gICAgLW1vei1vc3gtZm9udC1zbW9vdGhpbmc6IGdyYXlzY2FsZTtcbn1cblxuLmhlYWRlciB7XG4gICAgbWFyZ2luLXRvcDogMDtcbiAgICBtYXJnaW4tYm90dG9tOiAwO1xufSJdfQ== */"; | ||
var styles$1 = {"text":"CBezm","header":"_2n28Y"}; | ||
styleInject(css_248z$1); | ||
@@ -135,3 +164,5 @@ const _excluded$2 = ["children", "style", "tag", "testId"]; | ||
var css_248z = ".a-Fj9{align-items:stretch;border-style:solid;border-width:0;box-sizing:border-box;display:flex;flex-direction:column;margin:0;min-height:0;min-width:0;padding:0;position:relative;z-index:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInZpZXcubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUNJLG1CQUFvQixDQUVwQixrQkFBbUIsQ0FEbkIsY0FBZSxDQUVmLHFCQUFzQixDQUN0QixZQUFhLENBQ2IscUJBQXNCLENBQ3RCLFFBQVMsQ0FLVCxZQUFhLENBQ2IsV0FBWSxDQUxaLFNBQVUsQ0FDVixpQkFBa0IsQ0FDbEIsU0FJSiIsImZpbGUiOiJ2aWV3Lm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZGVmYXVsdCB7XG4gICAgYWxpZ24taXRlbXM6IHN0cmV0Y2g7XG4gICAgYm9yZGVyLXdpZHRoOiAwO1xuICAgIGJvcmRlci1zdHlsZTogc29saWQ7XG4gICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgbWFyZ2luOiAwO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHotaW5kZXg6IDA7XG4gICAgLyogZml4IGZsZXhib3ggYnVncyAqL1xuICAgIG1pbi1oZWlnaHQ6IDA7XG4gICAgbWluLXdpZHRoOiAwO1xufSJdfQ== */"; | ||
var styles = {"default":"a-Fj9"}; | ||
styleInject(css_248z); | ||
@@ -138,0 +169,0 @@ const _excluded$1 = ["style", "testId", "tag"]; |
{ | ||
"name": "@khanacademy/wonder-blocks-core", | ||
"version": "0.0.0-PR2226-20240523005325", | ||
"version": "0.0.0-PR2226-20240523161637", | ||
"design": "v1", | ||
@@ -26,3 +26,3 @@ "publishConfig": { | ||
"devDependencies": { | ||
"@khanacademy/wb-dev-build-settings": "0.0.0-PR2226-20240523005325" | ||
"@khanacademy/wb-dev-build-settings": "0.0.0-PR2226-20240523161637" | ||
}, | ||
@@ -29,0 +29,0 @@ "author": "", |
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
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
268049
5197
82