@instructure/theme-registry
Advanced tools
Comparing version 8.56.2-pr-snapshot-1721749364069 to 8.56.2-snapshot-2
@@ -6,3 +6,3 @@ # Change Log | ||
## [8.56.2-pr-snapshot-1721749364069](https://github.com/instructure/instructure-ui/compare/v8.56.1...v8.56.2-pr-snapshot-1721749364069) (2024-07-23) | ||
## [8.56.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v8.56.1...v8.56.2-snapshot-2) (2024-08-06) | ||
@@ -9,0 +9,0 @@ **Note:** Version bump only for package @instructure/theme-registry |
@@ -16,3 +16,4 @@ "use strict"; | ||
var _console = require("@instructure/console"); | ||
var _uiUtils = require("@instructure/ui-utils"); | ||
var _mergeDeep = require("@instructure/ui-utils/lib/mergeDeep.js"); | ||
var _isBaseTheme = require("@instructure/ui-utils/lib/isBaseTheme.js"); | ||
const _excluded = ["key", "description"], | ||
@@ -159,3 +160,3 @@ _excluded2 = ["key", "description", "use"]; | ||
registry.currentThemeKey = themeKey; | ||
const themeWithOverrides = (0, _uiUtils.mergeDeep)(theme, overrides); | ||
const themeWithOverrides = (0, _mergeDeep.mergeDeep)(theme, overrides); | ||
registry.themes[themeKey] = themeWithOverrides; | ||
@@ -212,3 +213,3 @@ return themeWithOverrides; | ||
} else { | ||
if (!(0, _uiUtils.isBaseTheme)(theme)) { | ||
if (!(0, _isBaseTheme.isBaseTheme)(theme)) { | ||
(0, _console.error)(false, "[theme-registry] The theme provided to 'registerTheme' is not a valid theme object!\nFor it to be valid some properties have to be present, check out https://instructure.design/#canvas as a reference."); | ||
@@ -215,0 +216,0 @@ throw new Error(); |
{ | ||
"name": "@instructure/theme-registry", | ||
"version": "8.56.2-pr-snapshot-1721749364069", | ||
"version": "8.56.2-snapshot-2", | ||
"description": "Package for global ThemeRegistry.", | ||
@@ -25,10 +25,10 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"@babel/runtime": "^7.23.2", | ||
"@instructure/console": "8.56.2-pr-snapshot-1721749364069", | ||
"@instructure/shared-types": "8.56.2-pr-snapshot-1721749364069", | ||
"@instructure/ui-utils": "8.56.2-pr-snapshot-1721749364069" | ||
"@instructure/console": "8.56.2-snapshot-2", | ||
"@instructure/shared-types": "8.56.2-snapshot-2", | ||
"@instructure/ui-utils": "8.56.2-snapshot-2" | ||
}, | ||
"devDependencies": { | ||
"@instructure/ui-babel-preset": "8.56.2-pr-snapshot-1721749364069", | ||
"@instructure/ui-test-utils": "8.56.2-pr-snapshot-1721749364069" | ||
"@instructure/ui-babel-preset": "8.56.2-snapshot-2", | ||
"@instructure/ui-test-utils": "8.56.2-snapshot-2" | ||
} | ||
} |
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
845
137689
+ Added@instructure/console@8.56.2-snapshot-2(transitive)
+ Added@instructure/shared-types@8.56.2-snapshot-2(transitive)
+ Added@instructure/ui-dom-utils@8.56.2-snapshot-2(transitive)
+ Added@instructure/ui-utils@8.56.2-snapshot-2(transitive)
- Removed@instructure/console@8.56.2-pr-snapshot-1721749364069(transitive)
- Removed@instructure/shared-types@8.56.2-pr-snapshot-1721749364069(transitive)
- Removed@instructure/ui-dom-utils@8.56.2-pr-snapshot-1721749364069(transitive)
- Removed@instructure/ui-utils@8.56.2-pr-snapshot-1721749364069(transitive)