@brightspace-ui/core 3.80.0 → 3.80.1
Sign up to get free protection for your applications and to get access to all the features.
- package/components/filter/filter.js +1 -1
- package/components/focus-trap/focus-trap.js +1 -1
- package/components/form/demo/form-panel-demo.js +0 -19
- package/components/form/form-errory-summary.js +0 -1
- package/components/inputs/input-textarea.js +1 -1
- package/components/popover/demo/popover.html +0 -1
- package/components/popover/popover-mixin.js +1 -0
- package/components/tooltip/tooltip.js +1 -0
- package/package.json +1 -1
@@ -180,7 +180,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
|
|
180
180
|
display: -webkit-box;
|
181
181
|
hyphens: auto;
|
182
182
|
-webkit-line-clamp: 2;
|
183
|
-
|
183
|
+
overflow-wrap: anywhere;
|
184
184
|
}
|
185
185
|
|
186
186
|
d2l-list-item[selection-disabled] .d2l-filter-dimension-set-value,
|
@@ -32,28 +32,9 @@ class FormPanelDemo extends LitElement {
|
|
32
32
|
display: none;
|
33
33
|
}
|
34
34
|
|
35
|
-
.d2l-form-panel-demo-panel {
|
36
|
-
background-color: white;
|
37
|
-
border-radius: 8px;
|
38
|
-
padding: 20px;
|
39
|
-
}
|
40
|
-
|
41
35
|
.d2l-form-panel-demo-container {
|
42
36
|
margin-bottom: 10px;
|
43
37
|
}
|
44
|
-
|
45
|
-
.d2l-form-panel-demo-header {
|
46
|
-
align-items: top;
|
47
|
-
cursor: pointer;
|
48
|
-
display: flex;
|
49
|
-
justify-content: space-between;
|
50
|
-
}
|
51
|
-
|
52
|
-
.d2l-form-panel-demo-text {
|
53
|
-
align-items: center;
|
54
|
-
display: flex;
|
55
|
-
margin: 0;
|
56
|
-
}
|
57
38
|
`];
|
58
39
|
}
|
59
40
|
|
@@ -126,10 +126,10 @@ class InputTextArea extends InputInlineHelpMixin(FocusMixin(LabelledMixin(FormEl
|
|
126
126
|
.d2l-input-textarea-mirror {
|
127
127
|
line-height: 1rem;
|
128
128
|
overflow: hidden;
|
129
|
+
overflow-wrap: anywhere; /* prevent width from growing */
|
129
130
|
padding-bottom: 0.5rem;
|
130
131
|
padding-top: 0.5rem;
|
131
132
|
visibility: hidden;
|
132
|
-
word-break: break-word; /* prevent width from growing */
|
133
133
|
}
|
134
134
|
:host([no-padding]) .d2l-input {
|
135
135
|
padding-left: 0;
|
@@ -280,7 +280,6 @@
|
|
280
280
|
<d2l-test-popover mobile-tray-location="inline-start" style="max-width: 400px;">
|
281
281
|
<d2l-link href="https://pirateipsum.me/" target="_blank">Pirate Ipsum</d2l-link>
|
282
282
|
<div>Sink me piracy Gold Road quarterdeck wherry long boat line pillage walk the plank Plate Fleet. Haul wind black spot strike colors deadlights lee Barbary Coast yo-ho-ho ballast gally Shiver me timbers. Sea Legs quarterdeck yard scourge of the seven seas coffer plunder lanyard holystone code of conduct belay.</div>
|
283
|
-
<d2l-button-subtle text="Close"></d2l-button-subtle>
|
284
283
|
</d2l-test-popover>
|
285
284
|
<script>
|
286
285
|
window.wireUpPopover(document.currentScript.parentNode);
|
@@ -384,6 +384,7 @@ export const PopoverMixin = superclass => class extends superclass {
|
|
384
384
|
const backdrop = this._mobileTrayLocation ?
|
385
385
|
html`<d2l-backdrop for-target="content-wrapper" ?shown="${this._showBackdrop}"></d2l-backdrop>` :
|
386
386
|
nothing;
|
387
|
+
|
387
388
|
return html`${content}${backdrop}${pointer}`;
|
388
389
|
|
389
390
|
}
|
@@ -331,6 +331,7 @@ class Tooltip extends RtlMixin(LitElement) {
|
|
331
331
|
min-width: 2.1rem;
|
332
332
|
outline: ${outlineSize}px solid var(--d2l-tooltip-outline-color);
|
333
333
|
overflow: hidden;
|
334
|
+
overflow-wrap: anywhere;
|
334
335
|
padding: ${11 - contentBorderSize}px ${contentHorizontalPadding - contentBorderSize}px;
|
335
336
|
position: absolute;
|
336
337
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.80.
|
3
|
+
"version": "3.80.1",
|
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",
|