@instructure/theme-registry
Advanced tools
Comparing version
@@ -6,2 +6,10 @@ # Change Log | ||
## [10.13.1-pr-snapshot-1741357986437](https://github.com/instructure/instructure-ui/compare/v10.13.0...v10.13.1-pr-snapshot-1741357986437) (2025-03-07) | ||
**Note:** Version bump only for package @instructure/theme-registry | ||
# [10.13.0](https://github.com/instructure/instructure-ui/compare/v10.12.0...v10.13.0) (2025-03-06) | ||
@@ -8,0 +16,0 @@ |
@@ -16,4 +16,3 @@ "use strict"; | ||
var _console = require("@instructure/console"); | ||
var _mergeDeep = require("@instructure/ui-utils/lib/mergeDeep.js"); | ||
var _isBaseTheme = require("@instructure/ui-utils/lib/isBaseTheme.js"); | ||
var _uiUtils = require("@instructure/ui-utils"); | ||
const _excluded = ["key", "description"], | ||
@@ -164,3 +163,3 @@ _excluded2 = ["key", "description", "use"]; | ||
registry.currentThemeKey = themeKey; | ||
const themeWithOverrides = (0, _mergeDeep.mergeDeep)(theme, overrides); | ||
const themeWithOverrides = (0, _uiUtils.mergeDeep)(theme, overrides); | ||
registry.themes[themeKey] = themeWithOverrides; | ||
@@ -223,3 +222,3 @@ return themeWithOverrides; | ||
} else { | ||
if (!(0, _isBaseTheme.isBaseTheme)(theme)) { | ||
if (!(0, _uiUtils.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."); | ||
@@ -226,0 +225,0 @@ throw new Error(); |
{ | ||
"name": "@instructure/theme-registry", | ||
"version": "10.13.0", | ||
"version": "10.13.1-pr-snapshot-1741357986437", | ||
"description": "Package for global ThemeRegistry.", | ||
@@ -25,10 +25,10 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"@babel/runtime": "^7.26.0", | ||
"@instructure/console": "10.13.0", | ||
"@instructure/shared-types": "10.13.0", | ||
"@instructure/ui-utils": "10.13.0" | ||
"@instructure/console": "10.13.1-pr-snapshot-1741357986437", | ||
"@instructure/shared-types": "10.13.1-pr-snapshot-1741357986437", | ||
"@instructure/ui-utils": "10.13.1-pr-snapshot-1741357986437" | ||
}, | ||
"devDependencies": { | ||
"@instructure/ui-babel-preset": "10.13.0", | ||
"@instructure/ui-test-utils": "10.13.0" | ||
"@instructure/ui-babel-preset": "10.13.1-pr-snapshot-1741357986437", | ||
"@instructure/ui-test-utils": "10.13.1-pr-snapshot-1741357986437" | ||
} | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
105709
0.27%909
-0.11%1
Infinity%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated