@brightspace-ui/core 2.79.0 → 2.79.1
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.
|
@@ -5,7 +5,6 @@ import { classMap } from 'lit/directives/class-map.js';
|
|
|
5
5
|
import { createHtmlBlockRenderer as createMathRenderer } from '../../helpers/mathjax.js';
|
|
6
6
|
import { HtmlAttributeObserverController } from '../../controllers/attributeObserver/htmlAttributeObserverController.js';
|
|
7
7
|
import { requestInstance } from '../../mixins/provider-mixin.js';
|
|
8
|
-
import { RtlMixin } from '../../mixins/rtl-mixin.js';
|
|
9
8
|
|
|
10
9
|
export const htmlBlockContentStyles = css`
|
|
11
10
|
.d2l-html-block-rendered {
|
|
@@ -135,7 +134,7 @@ const getRenderers = async() => {
|
|
|
135
134
|
* A component for displaying user-authored HTML.
|
|
136
135
|
* @slot - Provide your user-authored HTML
|
|
137
136
|
*/
|
|
138
|
-
class HtmlBlock extends
|
|
137
|
+
class HtmlBlock extends LitElement {
|
|
139
138
|
|
|
140
139
|
static get properties() {
|
|
141
140
|
return {
|
|
@@ -168,7 +167,7 @@ class HtmlBlock extends RtlMixin(LitElement) {
|
|
|
168
167
|
:host {
|
|
169
168
|
display: block;
|
|
170
169
|
overflow-wrap: break-word;
|
|
171
|
-
text-align:
|
|
170
|
+
text-align: start;
|
|
172
171
|
}
|
|
173
172
|
:host([inline]),
|
|
174
173
|
:host([inline]) .d2l-html-block-rendered {
|
|
@@ -182,9 +181,6 @@ class HtmlBlock extends RtlMixin(LitElement) {
|
|
|
182
181
|
:host([no-deferred-rendering]) slot {
|
|
183
182
|
display: contents;
|
|
184
183
|
}
|
|
185
|
-
:host([dir="rtl"]) {
|
|
186
|
-
text-align: right;
|
|
187
|
-
}
|
|
188
184
|
`];
|
|
189
185
|
}
|
|
190
186
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.79.
|
|
3
|
+
"version": "2.79.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",
|