@brightspace-ui/core 2.36.0 → 2.36.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.
@@ -122,6 +122,18 @@
122
122
  </template>
123
123
  </d2l-demo-snippet>
124
124
 
125
+ <h2>HTML Block (inline, no-deferred-rendering)</h2>
126
+
127
+ <d2l-demo-snippet>
128
+ <template>
129
+ <span>Here's an inline html-block:</span>
130
+ <d2l-html-block inline no-deferred-rendering>
131
+ I'm inline!
132
+ </d2l-html-block>
133
+ <span>Pretty cool!</span>
134
+ </template>
135
+ </d2l-demo-snippet>
136
+
125
137
  <h2>HTML Block (large font)</h2>
126
138
 
127
139
  <d2l-demo-snippet>
@@ -160,14 +160,14 @@ class HtmlBlock extends RtlMixin(LitElement) {
160
160
  overflow-y: hidden;
161
161
  text-align: left;
162
162
  }
163
- :host([hidden]),
164
- :host([no-deferred-rendering]) div.d2l-html-block-rendered {
165
- display: none;
166
- }
167
163
  :host([inline]),
168
164
  :host([inline]) div.d2l-html-block-rendered {
169
165
  display: inline;
170
166
  }
167
+ :host([hidden]),
168
+ :host([no-deferred-rendering]) div.d2l-html-block-rendered {
169
+ display: none;
170
+ }
171
171
  :host([dir="rtl"]) {
172
172
  text-align: right;
173
173
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.36.0",
3
+ "version": "2.36.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",