@brightspace-ui/core 2.39.0 → 2.39.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '../button/button.js';
|
|
2
2
|
import '../button/button-subtle.js';
|
|
3
3
|
import { css, html, LitElement, nothing } from 'lit';
|
|
4
|
+
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* `d2l-empty-state-action-button` is an empty state action component that can be placed inside of the default slot of `empty-state-simple` or `empty-state-illustrated` to add a button action to the component.
|
|
@@ -70,6 +71,7 @@ class EmptyStateActionButton extends LitElement {
|
|
|
70
71
|
: html`<d2l-button-subtle
|
|
71
72
|
class="d2l-empty-state-action"
|
|
72
73
|
@click=${this._handleActionClick}
|
|
74
|
+
h-align="${ifDefined(!this._illustrated ? 'text' : undefined)}"
|
|
73
75
|
?slim=${!this._illustrated}
|
|
74
76
|
text=${this.text}>
|
|
75
77
|
</d2l-button-subtle>`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.39.
|
|
3
|
+
"version": "2.39.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",
|