@brightspace-ui/core 2.179.2 → 2.180.0
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.
- package/components/dialog/demo/dialog-confirm.html +20 -0
- package/components/dialog/demo/dialog.html +22 -0
- package/components/dialog/dialog-confirm.js +19 -6
- package/components/dialog/dialog-styles.js +9 -0
- package/components/dialog/dialog.js +14 -4
- package/custom-elements.json +30 -0
- package/lang/ar.js +1 -0
- package/lang/cy.js +1 -0
- package/lang/da.js +1 -0
- package/lang/de.js +1 -0
- package/lang/en-gb.js +1 -0
- package/lang/en.js +1 -0
- package/lang/es-es.js +1 -0
- package/lang/es.js +1 -0
- package/lang/fr-fr.js +1 -0
- package/lang/fr.js +1 -0
- package/lang/hi.js +1 -0
- package/lang/ja.js +1 -0
- package/lang/ko.js +1 -0
- package/lang/nl.js +1 -0
- package/lang/pt.js +1 -0
- package/lang/sv.js +1 -0
- package/lang/tr.js +1 -0
- package/lang/zh-cn.js +1 -0
- package/lang/zh-tw.js +1 -0
- package/package.json +1 -1
@@ -37,6 +37,26 @@
|
|
37
37
|
</template>
|
38
38
|
</d2l-demo-snippet>
|
39
39
|
|
40
|
+
<h2>Confirm Dialog (critical)</h2>
|
41
|
+
|
42
|
+
<d2l-demo-snippet>
|
43
|
+
<template>
|
44
|
+
<d2l-button id="openConfirmCritical">Show Confirm</d2l-button>
|
45
|
+
<d2l-dialog-confirm id="confirmCritical" title-text="Confirm Title" text="Are you sure you want more cookies?" critical>
|
46
|
+
<d2l-button slot="footer" primary data-dialog-action="ok">Yes</d2l-button>
|
47
|
+
<d2l-button slot="footer" data-dialog-action>No</d2l-button>
|
48
|
+
</d2l-dialog-confirm>
|
49
|
+
<script>
|
50
|
+
document.querySelector('#openConfirmCritical').addEventListener('click', () => {
|
51
|
+
document.querySelector('#confirmCritical').opened = true;
|
52
|
+
});
|
53
|
+
document.querySelector('#confirmCritical').addEventListener('d2l-dialog-close', (e) => {
|
54
|
+
console.log('confirm action:', e.detail.action);
|
55
|
+
});
|
56
|
+
</script>
|
57
|
+
</template>
|
58
|
+
</d2l-demo-snippet>
|
59
|
+
|
40
60
|
<h2>Confirm Dialog (Multi Paragraph)</h2>
|
41
61
|
|
42
62
|
<d2l-demo-snippet>
|
@@ -184,6 +184,28 @@
|
|
184
184
|
</template>
|
185
185
|
</d2l-demo-snippet>
|
186
186
|
|
187
|
+
<h2>Dialog (critical)</h2>
|
188
|
+
|
189
|
+
<d2l-demo-snippet>
|
190
|
+
<template>
|
191
|
+
<d2l-button id="openCritical">Show Dialog</d2l-button>
|
192
|
+
<d2l-dialog id="dialogCritical" title-text="Dialog Title" critical>
|
193
|
+
<div>
|
194
|
+
<p>Deadlights jack lad schooner scallywag dance the hempen jig carouser broadside cable strike colors. Bring a spring upon her cable holystone blow the man down spanker</p>
|
195
|
+
<p>Shiver me timbers to go on account lookout wherry doubloon chase. Belay yo-ho-ho keelhaul squiffy black spot yardarm spyglass sheet transom heave to.</p>
|
196
|
+
<p>Trysail Sail ho Corsair red ensign hulk smartly boom jib rum gangway. Case shot Shiver me timbers gangplank crack Jennys tea cup ballast Blimey lee snow crow's nest rutters. Fluke jib scourge of the seven seas boatswain schooner gaff booty Jack Tar transom spirits.</p>
|
197
|
+
</div>
|
198
|
+
<d2l-button slot="footer" primary data-dialog-action="ok">Click Me!</d2l-button>
|
199
|
+
<d2l-button slot="footer" data-dialog-action>Cancel</d2l-button>
|
200
|
+
</d2l-dialog>
|
201
|
+
<script>
|
202
|
+
document.querySelector('#openCritical').addEventListener('click', () => {
|
203
|
+
document.querySelector('#dialogCritical').opened = true;
|
204
|
+
});
|
205
|
+
</script>
|
206
|
+
</template>
|
207
|
+
</d2l-demo-snippet>
|
208
|
+
|
187
209
|
</d2l-demo-page>
|
188
210
|
</body>
|
189
211
|
</html>
|
@@ -1,18 +1,24 @@
|
|
1
|
-
import { css, html, LitElement } from 'lit';
|
1
|
+
import { css, html, LitElement, nothing } from 'lit';
|
2
2
|
import { DialogMixin } from './dialog-mixin.js';
|
3
3
|
import { dialogStyles } from './dialog-styles.js';
|
4
4
|
import { getUniqueId } from '../../helpers/uniqueId.js';
|
5
5
|
import { heading3Styles } from '../typography/styles.js';
|
6
|
+
import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
|
6
7
|
|
7
8
|
/**
|
8
9
|
* A simple confirmation dialog for prompting the user. Apply the "data-dialog-action" attribute to workflow buttons to automatically close the confirm dialog with the action value.
|
9
10
|
* @fires d2l-dialog-before-close - Dispatched with the action value before the dialog is closed for any reason, providing an opportunity to prevent the dialog from closing
|
10
11
|
* @slot footer - Slot for footer content such as workflow buttons
|
11
12
|
*/
|
12
|
-
class DialogConfirm extends DialogMixin(LitElement) {
|
13
|
+
class DialogConfirm extends LocalizeCoreElement(DialogMixin(LitElement)) {
|
13
14
|
|
14
15
|
static get properties() {
|
15
16
|
return {
|
17
|
+
/**
|
18
|
+
* Whether the dialog should indicate that its message is important to the user
|
19
|
+
*/
|
20
|
+
critical: { type: Boolean },
|
21
|
+
|
16
22
|
/**
|
17
23
|
* REQUIRED: The text content for the confirmation dialog. Newline characters (` ` in HTML or `\n` in JavaScript) will render as multiple paragraphs.
|
18
24
|
* @type {string}
|
@@ -66,11 +72,17 @@ class DialogConfirm extends DialogMixin(LitElement) {
|
|
66
72
|
`];
|
67
73
|
}
|
68
74
|
|
69
|
-
|
70
|
-
|
71
|
-
|
75
|
+
constructor() {
|
76
|
+
super();
|
77
|
+
this.critical = false;
|
78
|
+
this._criticalLabelId = getUniqueId();
|
79
|
+
this._textId = getUniqueId();
|
80
|
+
this._titleId = getUniqueId();
|
81
|
+
}
|
72
82
|
|
83
|
+
render() {
|
73
84
|
const inner = html`
|
85
|
+
${this.critical ? html`<div id="${this._criticalLabelId}" hidden>${this.localize('components.dialog.critical')}</div>` : nothing}
|
74
86
|
<div class="d2l-dialog-inner">
|
75
87
|
${this.titleText ? html`
|
76
88
|
<div class="d2l-dialog-header">
|
@@ -85,13 +97,14 @@ class DialogConfirm extends DialogMixin(LitElement) {
|
|
85
97
|
</div>`;
|
86
98
|
|
87
99
|
const labelId = (this.titleText && this.text) ? this._titleId : this._textId;
|
100
|
+
const fullLabelId = this.critical ? `${this._criticalLabelId} ${labelId}` : labelId;
|
88
101
|
const descId = (this.titleText && this.text) ? this._textId : undefined;
|
89
102
|
return this._render(
|
90
103
|
inner,
|
91
104
|
{
|
92
105
|
descId: descId,
|
93
106
|
fullscreenMobile: false,
|
94
|
-
labelId:
|
107
|
+
labelId: fullLabelId,
|
95
108
|
role: 'alertdialog'
|
96
109
|
}
|
97
110
|
);
|
@@ -94,6 +94,15 @@ export const dialogStyles = css`
|
|
94
94
|
height: 100%;
|
95
95
|
}
|
96
96
|
|
97
|
+
:host([critical]) .d2l-dialog-header {
|
98
|
+
border-block-start: 0.4rem solid var(--d2l-color-cinnabar);
|
99
|
+
border-start-end-radius: 0.4rem;
|
100
|
+
border-start-start-radius: 0.4rem;
|
101
|
+
margin-block: -1px 0;
|
102
|
+
margin-inline: -1px;
|
103
|
+
padding: 1rem 31px 23px 31px;
|
104
|
+
}
|
105
|
+
|
97
106
|
.d2l-dialog-header {
|
98
107
|
box-sizing: border-box;
|
99
108
|
flex: none;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import '../button/button-icon.js';
|
2
2
|
import '../loading-spinner/loading-spinner.js';
|
3
3
|
import { AsyncContainerMixin, asyncStates } from '../../mixins/async-container/async-container-mixin.js';
|
4
|
-
import { css, html, LitElement } from 'lit';
|
4
|
+
import { css, html, LitElement, nothing } from 'lit';
|
5
5
|
import { classMap } from 'lit/directives/class-map.js';
|
6
6
|
import { DialogMixin } from './dialog-mixin.js';
|
7
7
|
import { dialogStyles } from './dialog-styles.js';
|
@@ -28,6 +28,11 @@ class Dialog extends LocalizeCoreElement(AsyncContainerMixin(DialogMixin(LitElem
|
|
28
28
|
*/
|
29
29
|
async: { type: Boolean },
|
30
30
|
|
31
|
+
/**
|
32
|
+
* Whether the dialog should indicate that its message is important to the user
|
33
|
+
*/
|
34
|
+
critical: { type: Boolean },
|
35
|
+
|
31
36
|
/**
|
32
37
|
* Whether to read the contents of the dialog on open
|
33
38
|
*/
|
@@ -49,7 +54,8 @@ class Dialog extends LocalizeCoreElement(AsyncContainerMixin(DialogMixin(LitElem
|
|
49
54
|
static get styles() {
|
50
55
|
return [ dialogStyles, heading3Styles, css`
|
51
56
|
|
52
|
-
.d2l-dialog-header
|
57
|
+
.d2l-dialog-header,
|
58
|
+
:host([critical]) .d2l-dialog-header {
|
53
59
|
padding-bottom: 15px;
|
54
60
|
}
|
55
61
|
|
@@ -83,10 +89,13 @@ class Dialog extends LocalizeCoreElement(AsyncContainerMixin(DialogMixin(LitElem
|
|
83
89
|
constructor() {
|
84
90
|
super();
|
85
91
|
this.async = false;
|
92
|
+
this.critical = false;
|
86
93
|
this.describeContent = false;
|
87
94
|
this.fullHeight = false;
|
88
95
|
this.width = 600;
|
96
|
+
this._criticalLabelId = getUniqueId();
|
89
97
|
this._handleResize = this._handleResize.bind(this);
|
98
|
+
this._titleId = getUniqueId();
|
90
99
|
}
|
91
100
|
|
92
101
|
get asyncContainerCustom() {
|
@@ -146,8 +155,9 @@ class Dialog extends LocalizeCoreElement(AsyncContainerMixin(DialogMixin(LitElem
|
|
146
155
|
<div id="${ifDefined(this._textId)}" style=${styleMap(slotStyles)}><slot></slot></div>
|
147
156
|
`;
|
148
157
|
|
149
|
-
|
158
|
+
const labelId = this.critical ? `${this._criticalLabelId} ${this._titleId}` : this._titleId;
|
150
159
|
const inner = html`
|
160
|
+
${this.critical ? html`<div id="${this._criticalLabelId}" hidden>${this.localize('components.dialog.critical')}</div>` : nothing}
|
151
161
|
<div class="d2l-dialog-inner" style=${styleMap(heightOverride)}>
|
152
162
|
<div class="d2l-dialog-header">
|
153
163
|
<div>
|
@@ -168,7 +178,7 @@ class Dialog extends LocalizeCoreElement(AsyncContainerMixin(DialogMixin(LitElem
|
|
168
178
|
{
|
169
179
|
descId: descId,
|
170
180
|
fullscreenMobile: true,
|
171
|
-
labelId:
|
181
|
+
labelId: labelId,
|
172
182
|
role: 'dialog'
|
173
183
|
},
|
174
184
|
topOverride
|
package/custom-elements.json
CHANGED
@@ -1993,6 +1993,12 @@
|
|
1993
1993
|
"description": "REQUIRED: The text content for the confirmation dialog. Newline characters (` ` in HTML or `\\n` in JavaScript) will render as multiple paragraphs.",
|
1994
1994
|
"type": "string"
|
1995
1995
|
},
|
1996
|
+
{
|
1997
|
+
"name": "critical",
|
1998
|
+
"description": "Whether the dialog should indicate that its message is important to the user",
|
1999
|
+
"type": "boolean",
|
2000
|
+
"default": "false"
|
2001
|
+
},
|
1996
2002
|
{
|
1997
2003
|
"name": "title-text",
|
1998
2004
|
"description": "The optional title for the dialog",
|
@@ -2012,6 +2018,17 @@
|
|
2012
2018
|
"description": "REQUIRED: The text content for the confirmation dialog. Newline characters (` ` in HTML or `\\n` in JavaScript) will render as multiple paragraphs.",
|
2013
2019
|
"type": "string"
|
2014
2020
|
},
|
2021
|
+
{
|
2022
|
+
"name": "critical",
|
2023
|
+
"attribute": "critical",
|
2024
|
+
"description": "Whether the dialog should indicate that its message is important to the user",
|
2025
|
+
"type": "boolean",
|
2026
|
+
"default": "false"
|
2027
|
+
},
|
2028
|
+
{
|
2029
|
+
"name": "documentLocaleSettings",
|
2030
|
+
"default": "\"getDocumentLocaleSettings()\""
|
2031
|
+
},
|
2015
2032
|
{
|
2016
2033
|
"name": "titleText",
|
2017
2034
|
"attribute": "title-text",
|
@@ -2167,6 +2184,12 @@
|
|
2167
2184
|
"type": "boolean",
|
2168
2185
|
"default": "false"
|
2169
2186
|
},
|
2187
|
+
{
|
2188
|
+
"name": "critical",
|
2189
|
+
"description": "Whether the dialog should indicate that its message is important to the user",
|
2190
|
+
"type": "boolean",
|
2191
|
+
"default": "false"
|
2192
|
+
},
|
2170
2193
|
{
|
2171
2194
|
"name": "describe-content",
|
2172
2195
|
"description": "Whether to read the contents of the dialog on open",
|
@@ -2205,6 +2228,13 @@
|
|
2205
2228
|
"type": "boolean",
|
2206
2229
|
"default": "false"
|
2207
2230
|
},
|
2231
|
+
{
|
2232
|
+
"name": "critical",
|
2233
|
+
"attribute": "critical",
|
2234
|
+
"description": "Whether the dialog should indicate that its message is important to the user",
|
2235
|
+
"type": "boolean",
|
2236
|
+
"default": "false"
|
2237
|
+
},
|
2208
2238
|
{
|
2209
2239
|
"name": "describeContent",
|
2210
2240
|
"attribute": "describe-content",
|
package/lang/ar.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "إظهار {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "إغلاق مربع الحوار هذا",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "إغلاق",
|
11
12
|
"components.filter.activeFilters": "عوامل تصفية نشطة:",
|
12
13
|
"components.filter.clear": "مسح",
|
package/lang/cy.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Dangos {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Cau'r dialog hwn",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Cau",
|
11
12
|
"components.filter.activeFilters": "Dim Hidlwyr Gweithredol:",
|
12
13
|
"components.filter.clear": "Clirio",
|
package/lang/da.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Vis {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Luk denne dialogboks",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Luk",
|
11
12
|
"components.filter.activeFilters": "Aktive filtre:",
|
12
13
|
"components.filter.clear": "Ryd",
|
package/lang/de.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} anzeigen",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Dieses Dialogfeld schließen",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Schließen",
|
11
12
|
"components.filter.activeFilters": "Aktive Filter:",
|
12
13
|
"components.filter.clear": "Löschen",
|
package/lang/en-gb.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Show {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Close this dialogue",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Close",
|
11
12
|
"components.filter.activeFilters": "Active Filters:",
|
12
13
|
"components.filter.clear": "Clear",
|
package/lang/en.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Show {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Close this dialog",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Close",
|
11
12
|
"components.filter.activeFilters": "Active Filters:",
|
12
13
|
"components.filter.clear": "Clear",
|
package/lang/es-es.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Mostrar {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Cerrar este cuadro de diálogo",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Cerrar",
|
11
12
|
"components.filter.activeFilters": "Filtros activos:",
|
12
13
|
"components.filter.clear": "Borrar",
|
package/lang/es.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Mostrar {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Cerrar este cuadro de diálogo",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Cerrar",
|
11
12
|
"components.filter.activeFilters": "Filtros activos:",
|
12
13
|
"components.filter.clear": "Borrar",
|
package/lang/fr-fr.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Afficher {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Fermer cette boîte de dialogue",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Fermer",
|
11
12
|
"components.filter.activeFilters": "Filtres actifs :",
|
12
13
|
"components.filter.clear": "Effacer",
|
package/lang/fr.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Afficher {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Fermer cette boîte de dialogue",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Fermer",
|
11
12
|
"components.filter.activeFilters": "Filtres actifs :",
|
12
13
|
"components.filter.clear": "Effacer",
|
package/lang/hi.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} दिखाएँ",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "यह संवाद बंद करें",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "बंद करें",
|
11
12
|
"components.filter.activeFilters": "सक्रिय फ़िल्टर्स:",
|
12
13
|
"components.filter.clear": "साफ़ करें",
|
package/lang/ja.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} を表示",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "このダイアログを閉じる",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "閉じる",
|
11
12
|
"components.filter.activeFilters": "アクティブフィルタ:",
|
12
13
|
"components.filter.clear": "クリア",
|
package/lang/ko.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} 표시",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "이 대화 상자 닫기",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "닫기",
|
11
12
|
"components.filter.activeFilters": "활성 필터:",
|
12
13
|
"components.filter.clear": "지우기",
|
package/lang/nl.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} weergeven",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Dit dialoogvenster sluiten",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Sluiten",
|
11
12
|
"components.filter.activeFilters": "Actieve filters:",
|
12
13
|
"components.filter.clear": "Wissen",
|
package/lang/pt.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Mostrar {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Fechar esta caixa de diálogo",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Fechar",
|
11
12
|
"components.filter.activeFilters": "Filtros ativos:",
|
12
13
|
"components.filter.clear": "Limpar",
|
package/lang/sv.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Visa {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Stäng dialogrutan",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Stäng",
|
11
12
|
"components.filter.activeFilters": "Aktiva filter:",
|
12
13
|
"components.filter.clear": "Rensa",
|
package/lang/tr.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} Göster",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Bu iletişim kutusunu kapat",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "Kapat",
|
11
12
|
"components.filter.activeFilters": "Etkin Filtreler:",
|
12
13
|
"components.filter.clear": "Temizle",
|
package/lang/zh-cn.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "显示 {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "关闭此对话框",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "关闭",
|
11
12
|
"components.filter.activeFilters": "活动筛选器:",
|
12
13
|
"components.filter.clear": "清除",
|
package/lang/zh-tw.js
CHANGED
@@ -7,6 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "顯示{month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "關閉此對話方塊",
|
10
|
+
"components.dialog.critical": "Critical!",
|
10
11
|
"components.dropdown.close": "關閉",
|
11
12
|
"components.filter.activeFilters": "啟用中的篩選器:",
|
12
13
|
"components.filter.clear": "清除",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.180.0",
|
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",
|