@instructure/theme-registry
Advanced tools
Comparing version 8.56.5-pr-snapshot-1728655013879 to 8.56.5-pr-snapshot-1729507712924
@@ -6,3 +6,3 @@ # Change Log | ||
## [8.56.5-pr-snapshot-1728655013879](https://github.com/instructure/instructure-ui/compare/v8.56.4...v8.56.5-pr-snapshot-1728655013879) (2024-10-11) | ||
## [8.56.5-pr-snapshot-1729507712924](https://github.com/instructure/instructure-ui/compare/v8.56.4...v8.56.5-pr-snapshot-1729507712924) (2024-10-21) | ||
@@ -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.5-pr-snapshot-1728655013879", | ||
"version": "8.56.5-pr-snapshot-1729507712924", | ||
"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.5-pr-snapshot-1728655013879", | ||
"@instructure/shared-types": "8.56.5-pr-snapshot-1728655013879", | ||
"@instructure/ui-utils": "8.56.5-pr-snapshot-1728655013879" | ||
"@instructure/console": "8.56.5-pr-snapshot-1729507712924", | ||
"@instructure/shared-types": "8.56.5-pr-snapshot-1729507712924", | ||
"@instructure/ui-utils": "8.56.5-pr-snapshot-1729507712924" | ||
}, | ||
"devDependencies": { | ||
"@instructure/ui-babel-preset": "8.56.5-pr-snapshot-1728655013879", | ||
"@instructure/ui-test-utils": "8.56.5-pr-snapshot-1728655013879" | ||
"@instructure/ui-babel-preset": "8.56.5-pr-snapshot-1729507712924", | ||
"@instructure/ui-test-utils": "8.56.5-pr-snapshot-1729507712924" | ||
} | ||
} |
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
138325
845
+ Added@instructure/console@8.56.5-pr-snapshot-1729507712924(transitive)
+ Added@instructure/shared-types@8.56.5-pr-snapshot-1729507712924(transitive)
+ Added@instructure/ui-dom-utils@8.56.5-pr-snapshot-1729507712924(transitive)
+ Added@instructure/ui-utils@8.56.5-pr-snapshot-1729507712924(transitive)
- Removed@instructure/console@8.56.5-pr-snapshot-1728655013879(transitive)
- Removed@instructure/shared-types@8.56.5-pr-snapshot-1728655013879(transitive)
- Removed@instructure/ui-dom-utils@8.56.5-pr-snapshot-1728655013879(transitive)
- Removed@instructure/ui-utils@8.56.5-pr-snapshot-1728655013879(transitive)
Updated@instructure/console@8.56.5-pr-snapshot-1729507712924
Updated@instructure/shared-types@8.56.5-pr-snapshot-1729507712924
Updated@instructure/ui-utils@8.56.5-pr-snapshot-1729507712924