@brightspace-ui/core 2.77.0 → 2.77.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 {
@@ -131,7 +130,7 @@ const getRenderers = async() => {
131
130
  * A component for displaying user-authored HTML.
132
131
  * @slot - Provide your user-authored HTML
133
132
  */
134
- class HtmlBlock extends RtlMixin(LitElement) {
133
+ class HtmlBlock extends LitElement {
135
134
 
136
135
  static get properties() {
137
136
  return {
@@ -164,7 +163,7 @@ class HtmlBlock extends RtlMixin(LitElement) {
164
163
  :host {
165
164
  display: block;
166
165
  overflow-wrap: break-word;
167
- text-align: left;
166
+ text-align: start;
168
167
  }
169
168
  :host([inline]),
170
169
  :host([inline]) .d2l-html-block-rendered {
@@ -178,9 +177,6 @@ class HtmlBlock extends RtlMixin(LitElement) {
178
177
  :host([no-deferred-rendering]) slot {
179
178
  display: contents;
180
179
  }
181
- :host([dir="rtl"]) {
182
- text-align: right;
183
- }
184
180
  `];
185
181
  }
186
182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.77.0",
3
+ "version": "2.77.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",