@brightspace-ui/core 3.240.2 → 3.240.4

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.
@@ -165,7 +165,7 @@ class DialogConfirm extends LocalizeCoreElement(DialogMixin(LitElement)) {
165
165
 
166
166
  #renderText() {
167
167
  if (!this.text) return nothing;
168
- const lines = this.text.split(/\r\n|\n/gi);
168
+ const lines = this.text.split(/\r?\n/g);
169
169
  return lines.map(line => html`<p>${line}</p>`);
170
170
  }
171
171
 
@@ -61,7 +61,7 @@ export class SelectionControls extends PageableSubscriberMixin(SelectionObserver
61
61
  }
62
62
  }
63
63
  :host([_scrolled]) .d2l-selection-controls-shadow {
64
- background-color: var(--d2l-selection-controls-background-color, white);
64
+ background-color: var(--d2l-selection-controls-background-color, var(--d2l-theme-background-color-base));
65
65
  bottom: -4px;
66
66
  box-shadow: 0 8px 12px -9px rgba(0, 0, 0, 0.3);
67
67
  clip: rect(30px, auto, 200px, auto);
@@ -78,7 +78,7 @@ export class SelectionControls extends PageableSubscriberMixin(SelectionObserver
78
78
  }
79
79
  .d2l-selection-controls-container {
80
80
  align-items: center;
81
- background-color: var(--d2l-selection-controls-background-color, white);
81
+ background-color: var(--d2l-selection-controls-background-color, var(--d2l-theme-background-color-base));
82
82
  display: flex;
83
83
  margin: 6px calc(-1*var(--d2l-selection-controls-padding, 0px));
84
84
  min-height: 54px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.240.2",
3
+ "version": "3.240.4",
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",