@brightspace-ui/core 2.55.1 → 2.55.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/components/card/card.js
CHANGED
|
@@ -218,7 +218,6 @@ class Card extends FocusMixin(RtlMixin(LitElement)) {
|
|
|
218
218
|
:host(:not([href])),
|
|
219
219
|
:host([subtle]:not([href])) {
|
|
220
220
|
box-shadow: none;
|
|
221
|
-
transform: none;
|
|
222
221
|
}
|
|
223
222
|
@media (prefers-reduced-motion: no-preference) {
|
|
224
223
|
:host {
|
|
@@ -231,6 +230,11 @@ class Card extends FocusMixin(RtlMixin(LitElement)) {
|
|
|
231
230
|
:host([subtle][_active]:hover) {
|
|
232
231
|
transform: translateY(-4px);
|
|
233
232
|
}
|
|
233
|
+
|
|
234
|
+
:host(:not([href])),
|
|
235
|
+
:host([subtle]:not([href])) {
|
|
236
|
+
transform: none;
|
|
237
|
+
}
|
|
234
238
|
}
|
|
235
239
|
`];
|
|
236
240
|
}
|
package/mixins/localize-mixin.js
CHANGED
|
@@ -146,10 +146,10 @@ export const LocalizeMixin = dedupeMixin(superclass => class extends superclass
|
|
|
146
146
|
const superCtor = Object.getPrototypeOf(this);
|
|
147
147
|
// get imported terms for each config, head up the chain to get them all
|
|
148
148
|
if ('_getAllLocalizeResources' in superCtor) {
|
|
149
|
-
const superConfig = Object.
|
|
149
|
+
const superConfig = Object.prototype.hasOwnProperty.call(superCtor, 'localizeConfig') && superCtor.localizeConfig.importFunc ? superCtor.localizeConfig : config;
|
|
150
150
|
resourcesLoadedPromises = superCtor._getAllLocalizeResources(superConfig);
|
|
151
151
|
}
|
|
152
|
-
if (Object.
|
|
152
|
+
if (Object.prototype.hasOwnProperty.call(this, 'getLocalizeResources') || Object.prototype.hasOwnProperty.call(this, 'resources')) {
|
|
153
153
|
const possibleLanguages = this._generatePossibleLanguages(config);
|
|
154
154
|
const res = this.getLocalizeResources(possibleLanguages, config);
|
|
155
155
|
resourcesLoadedPromises.push(res);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.55.
|
|
3
|
+
"version": "2.55.3",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|