@brightspace-ui/core 3.164.1 → 3.164.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.
@@ -4,7 +4,6 @@ import { findComposedAncestor, isComposedAncestor } from '../../helpers/dom.js';
|
|
4
4
|
import { announce } from '../../helpers/announce.js';
|
5
5
|
import { classMap } from 'lit/directives/class-map.js';
|
6
6
|
import { dragActions } from './list-item-drag-handle.js';
|
7
|
-
import { getFlag } from '../../helpers/flags.js';
|
8
7
|
import { getUniqueId } from '../../helpers/uniqueId.js';
|
9
8
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
10
9
|
import { SelectionInfo } from '../selection/selection-mixin.js';
|
@@ -22,8 +21,6 @@ export const moveLocations = Object.freeze({
|
|
22
21
|
|
23
22
|
export const dropLocation = moveLocations; // backwards compatibility
|
24
23
|
|
25
|
-
const dragDropMultipleFlag = getFlag('GAUD-7495-list-item-drag-drop-multiple', true);
|
26
|
-
|
27
24
|
const dropTargetLeaveDelay = 1000; // ms
|
28
25
|
const touchHoldDuration = 400; // length of time user needs to hold down touch before dragging occurs
|
29
26
|
const scrollSensitivity = 150; // pixels between top/bottom of viewport to scroll for mobile
|
@@ -370,8 +367,6 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
|
|
370
367
|
if (!this.key) {
|
371
368
|
this.draggable = false;
|
372
369
|
}
|
373
|
-
|
374
|
-
if (!dragDropMultipleFlag) return;
|
375
370
|
this._dragMultiple = this.getRootList()?.hasAttribute('drag-multiple');
|
376
371
|
}
|
377
372
|
|
@@ -877,8 +872,6 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
|
|
877
872
|
}
|
878
873
|
|
879
874
|
_renderDragMultipleImage() {
|
880
|
-
if (!dragDropMultipleFlag) return nothing;
|
881
|
-
|
882
875
|
return this._dragMultiple && this.draggable && (this.selectable || this.expandable) ? html`<d2l-list-item-drag-image></d2l-list-item-drag-image>` : nothing;
|
883
876
|
}
|
884
877
|
|
package/helpers/mathjax.js
CHANGED
@@ -42,8 +42,7 @@ class HtmlBlockMathRenderer {
|
|
42
42
|
if (!options.contextValues) return elem;
|
43
43
|
let context = options.contextValues.get(mathjaxContextKey);
|
44
44
|
|
45
|
-
|
46
|
-
if (getFlag('shield-12649-mathjax-default-context', false)) {
|
45
|
+
if (getFlag('shield-12649-mathjax-default-context', true)) {
|
47
46
|
context = context || {
|
48
47
|
renderLatex: false,
|
49
48
|
outputScale: 1
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.164.
|
3
|
+
"version": "3.164.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",
|