@brightspace-ui/core 1.235.1 → 1.235.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.
|
@@ -3,6 +3,7 @@ import { css, LitElement } from 'lit-element/lit-element.js';
|
|
|
3
3
|
import { HtmlAttributeObserverController } from '../../controllers/attributeObserver/htmlAttributeObserverController.js';
|
|
4
4
|
import { HtmlBlockMathRenderer } from '../../helpers/mathjax.js';
|
|
5
5
|
import { requestInstance } from '../../mixins/provider-mixin.js';
|
|
6
|
+
import { RtlMixin } from '../../mixins/rtl-mixin.js';
|
|
6
7
|
|
|
7
8
|
export const htmlBlockContentStyles = css`
|
|
8
9
|
.d2l-html-block-compact {
|
|
@@ -120,7 +121,7 @@ const getRenderers = () => {
|
|
|
120
121
|
* A component for displaying user-authored HTML.
|
|
121
122
|
* @slot - Provide your user-authored HTML
|
|
122
123
|
*/
|
|
123
|
-
class HtmlBlock extends LitElement {
|
|
124
|
+
class HtmlBlock extends RtlMixin(LitElement) {
|
|
124
125
|
|
|
125
126
|
static get properties() {
|
|
126
127
|
return {
|
|
@@ -32,7 +32,7 @@ The `d2l-switch` element is a generic switch with on/off semantics.
|
|
|
32
32
|

|
|
33
33
|
<!-- docs: end hidden content -->
|
|
34
34
|
|
|
35
|
-
<!-- docs: demo live name:d2l-switch -->
|
|
35
|
+
<!-- docs: demo live name:d2l-switch autoSize:false size:small -->
|
|
36
36
|
```html
|
|
37
37
|
<script type="module">
|
|
38
38
|
import '@brightspace-ui/core/components/switch/switch.js';
|
|
@@ -71,7 +71,7 @@ The `d2l-switch-visibility` element is a variant of the generic switch configure
|
|
|
71
71
|

|
|
72
72
|
<!-- docs: end hidden content -->
|
|
73
73
|
|
|
74
|
-
<!-- docs: demo live name:d2l-switch-visibility -->
|
|
74
|
+
<!-- docs: demo live name:d2l-switch-visibility autoSize:false size:small -->
|
|
75
75
|
```html
|
|
76
76
|
<script type="module">
|
|
77
77
|
import '@brightspace-ui/core/components/switch/switch-visibility.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "1.235.
|
|
3
|
+
"version": "1.235.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",
|