@brightspace-ui/core 3.333.1 → 3.333.3
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.
|
@@ -49,11 +49,6 @@ class DialogFullscreen extends PropertyRequiredMixin(LocalizeCoreElement(AsyncCo
|
|
|
49
49
|
|
|
50
50
|
static styles = [_generateResetStyles(':host'), dialogStyles, heading2Styles, heading3Styles, css`
|
|
51
51
|
|
|
52
|
-
.d2l-dialog-header > div {
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: row-reverse;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
52
|
.d2l-dialog-footer.d2l-footer-no-content {
|
|
58
53
|
display: none;
|
|
59
54
|
}
|
|
@@ -260,8 +255,8 @@ class DialogFullscreen extends PropertyRequiredMixin(LocalizeCoreElement(AsyncCo
|
|
|
260
255
|
<div class="d2l-dialog-inner" style=${styleMap(heightOverride)}>
|
|
261
256
|
<div class="d2l-dialog-header">
|
|
262
257
|
<div>
|
|
263
|
-
<d2l-button-icon icon="${this._icon}" text="${this.localize('components.dialog.close')}" @click="${this._abort}"></d2l-button-icon>
|
|
264
258
|
${this._renderHeading(this.titleText, { id: this._titleId, class: this._headerStyle })}
|
|
259
|
+
<d2l-button-icon icon="${this._icon}" text="${this.localize('components.dialog.close')}" @click="${this._abort}"></d2l-button-icon>
|
|
265
260
|
</div>
|
|
266
261
|
</div>
|
|
267
262
|
${this._renderContent(content, { handleAsyncItemState: this._handleAsyncItemState, hasTitleText: !!this.titleText })}
|
|
@@ -63,11 +63,6 @@ class Dialog extends PropertyRequiredMixin(LocalizeCoreElement(AsyncContainerMix
|
|
|
63
63
|
padding-bottom: 15px;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.d2l-dialog-header > div {
|
|
67
|
-
display: flex;
|
|
68
|
-
flex-direction: row-reverse;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
66
|
.d2l-dialog-header > div > d2l-button-icon {
|
|
72
67
|
flex: none;
|
|
73
68
|
margin-block: -4px 0;
|
|
@@ -174,8 +169,8 @@ class Dialog extends PropertyRequiredMixin(LocalizeCoreElement(AsyncContainerMix
|
|
|
174
169
|
<div class="d2l-dialog-inner" style=${styleMap(heightOverride)}>
|
|
175
170
|
<div class="d2l-dialog-header">
|
|
176
171
|
<div>
|
|
177
|
-
<d2l-button-icon icon="tier1:close-small" text="${this.localize('components.dialog.close')}" @click="${this._abort}"></d2l-button-icon>
|
|
178
172
|
${this._renderHeading(this.titleText, { id: this._titleId, class: 'd2l-heading-3' })}
|
|
173
|
+
<d2l-button-icon icon="tier1:close-small" text="${this.localize('components.dialog.close')}" @click="${this._abort}"></d2l-button-icon>
|
|
179
174
|
</div>
|
|
180
175
|
</div>
|
|
181
176
|
${this._renderContent(content, { handleAsyncItemState: this._handleAsyncItemState, hasTitleText: !!this.titleText })}
|
|
@@ -80,6 +80,7 @@ When contributing changes to icons, the SVG files should be properly formatted.
|
|
|
80
80
|
- not contain negative values
|
|
81
81
|
- there should be no `<title>` element
|
|
82
82
|
- there should be no inline `<style>` -- all style for line fills should be applied directly to the SVG elements
|
|
83
|
+
- there should be no stroke attributes (e.g. `stroke`, `stroke-width`, `stroke-*`)
|
|
83
84
|
- color of SVG elements should be "tungsten" (`#494c4e`)
|
|
84
85
|
|
|
85
86
|
The best way to have most of these rules applied for you automatically is to put the icon through [SVGOMG](https://jakearchibald.github.io/svgomg/) with these options selected:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.333.
|
|
3
|
+
"version": "3.333.3",
|
|
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",
|