@brightspace-ui/core 2.54.0 → 2.54.2

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.
@@ -98,11 +98,15 @@ export const tableStyles = css`
98
98
 
99
99
  /* no-column-border */
100
100
  d2l-table-wrapper[type="default"][no-column-border]:not([dir="rtl"]) .d2l-table > tbody > tr > *:not(.d2l-table-cell-last),
101
- d2l-table-wrapper[type="default"]:not([dir="rtl"]) .d2l-table[no-column-border] > tbody > tr > *:not(.d2l-table-cell-last) {
101
+ d2l-table-wrapper[type="default"]:not([dir="rtl"]) .d2l-table[no-column-border] > tbody > tr > *:not(.d2l-table-cell-last),
102
+ d2l-table-wrapper[type="default"][no-column-border]:not([dir="rtl"]) .d2l-table > thead > tr > *:not(.d2l-table-cell-last),
103
+ d2l-table-wrapper[type="default"]:not([dir="rtl"]) .d2l-table[no-column-border] > thead > tr > *:not(.d2l-table-cell-last) {
102
104
  border-right: none;
103
105
  }
104
106
  d2l-table-wrapper[type="default"][no-column-border][dir="rtl"] .d2l-table > tbody > tr > *:not(.d2l-table-cell-last),
105
- d2l-table-wrapper[type="default"][dir="rtl"] .d2l-table[no-column-border] > tbody > tr > *:not(.d2l-table-cell-last) {
107
+ d2l-table-wrapper[type="default"][dir="rtl"] .d2l-table[no-column-border] > tbody > tr > *:not(.d2l-table-cell-last),
108
+ d2l-table-wrapper[type="default"][no-column-border][dir="rtl"] .d2l-table > thead > tr > *:not(.d2l-table-cell-last),
109
+ d2l-table-wrapper[type="default"][dir="rtl"] .d2l-table[no-column-border] > thead > tr > *:not(.d2l-table-cell-last) {
106
110
  border-left: none;
107
111
  }
108
112
 
@@ -6,10 +6,10 @@ const supportedLangpacks = ['ar', 'cy', 'da', 'de', 'en', 'es', 'es-es', 'fr', '
6
6
 
7
7
  export const LocalizeDynamicMixin = superclass => class extends LocalizeMixin(superclass) {
8
8
 
9
- static async getLocalizeResources(langs, { importFunc, osloCollection }) {
9
+ static async getLocalizeResources(langs, { importFunc, osloCollection, useBrowserLangs }) {
10
10
 
11
11
  // in dev, don't request unsupported langpacks
12
- if (!importFunc.toString().includes('switch')) {
12
+ if (!importFunc.toString().includes('switch') && !useBrowserLangs) {
13
13
  langs = langs.filter(lang => supportedLangpacks.includes(lang));
14
14
  }
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.54.0",
3
+ "version": "2.54.2",
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",