@brightspace-ui/core 2.157.0 → 2.158.0
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.
@@ -1,14 +1,11 @@
|
|
1
1
|
import '@formatjs/intl-pluralrules/dist-es6/polyfill-locales.js';
|
2
|
+
import { defaultLocale as fallbackLang, getDocumentLocaleSettings, supportedLangpacks } from '@brightspace-ui/intl/lib/common.js';
|
2
3
|
import { dedupeMixin } from '@open-wc/dedupe-mixin';
|
3
|
-
import { getDocumentLocaleSettings } from '@brightspace-ui/intl/lib/common.js';
|
4
4
|
import { getLocalizeOverrideResources } from '../../helpers/getLocalizeResources.js';
|
5
5
|
import { html } from 'lit';
|
6
6
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
7
7
|
import IntlMessageFormat from 'intl-messageformat';
|
8
8
|
|
9
|
-
const fallbackLang = 'en';
|
10
|
-
const supportedLangpacks = ['ar', 'cy', 'da', 'de', 'en', 'en-gb', 'es', 'es-es', 'fr', 'fr-fr', 'fr-on', 'hi', 'ja', 'ko', 'nl', 'pt', 'sv', 'tr', 'zh-cn', 'zh-tw'];
|
11
|
-
|
12
9
|
export const _LocalizeMixinBase = dedupeMixin(superclass => class LocalizeMixinClass extends superclass {
|
13
10
|
|
14
11
|
static get properties() {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.158.0",
|
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",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"lint:style": "stylelint \"**/*.{js,html}\" --ignore-path .gitignore",
|
20
20
|
"start": "web-dev-server --node-resolve --watch --open",
|
21
21
|
"test": "npm run lint && npm run test:translations && npm run test:unit && npm run test:axe",
|
22
|
-
"test:axe": "d2l-test-runner
|
22
|
+
"test:axe": "d2l-test-runner axe --chrome",
|
23
23
|
"test:unit": "d2l-test-runner",
|
24
24
|
"test:translations": "mfv -e -s en -p ./lang/ -i untranslated",
|
25
25
|
"test:vdiff": "d2l-test-runner vdiff"
|