@brightspace-ui/labs 1.1.1 → 1.2.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.
@@ -0,0 +1,204 @@
1
+ import '@brightspace-ui/core/components/button/button.js';
2
+ import '@brightspace-ui/core/components/button/button-icon.js';
3
+ import '@brightspace-ui/core/components/colors/colors.js';
4
+ import '@brightspace-ui/core/components/inputs/input-textarea.js';
5
+ import './opt-out-reason-selector.js';
6
+ import { css, html, LitElement } from 'lit';
7
+ import { composeMixins } from '@brightspace-ui/core/helpers/composeMixins.js';
8
+ import { LocalizeLabsElement } from '../localize-labs-element.js';
9
+ import { RtlMixin } from '@brightspace-ui/core/mixins/rtl-mixin.js';
10
+
11
+ const defaultEventProperties = {
12
+ bubbles: true,
13
+ composed: true
14
+ };
15
+
16
+ class OptOutDialog extends composeMixins(
17
+ LitElement,
18
+ LocalizeLabsElement,
19
+ RtlMixin
20
+ ) {
21
+
22
+ static get properties() {
23
+ return {
24
+ hideReason: { type: Boolean, attribute: 'hide-reason' },
25
+ hideFeedback: { type: Boolean, attribute: 'hide-feedback' }
26
+ };
27
+ }
28
+
29
+ static get styles() {
30
+ return css`
31
+ :host {
32
+ height: 100%;
33
+ overflow: hidden;
34
+ pointer-events: auto;
35
+ position: absolute;
36
+ width: 100%;
37
+ z-index: 950;
38
+ }
39
+
40
+ .opt-out-modal-fade {
41
+ background-color: #ffffff;
42
+ height: 100%;
43
+ opacity: 0.7;
44
+ position: absolute;
45
+ width: 100%;
46
+ z-index: 1;
47
+ }
48
+
49
+ .dialog {
50
+ background-color: #ffffff;
51
+ border: 1px solid var(--d2l-color-mica);
52
+ border-radius: 0.3rem;
53
+ box-shadow: 0 2px 12px rgba(86, 90, 92, 0.25);
54
+ box-sizing: border-box;
55
+ left: 50%;
56
+ max-width: 680px;
57
+ padding: 1rem;
58
+ position: absolute;
59
+ top: 7.5%;
60
+ transform: translateX(-50%);
61
+ width: 90%;
62
+ z-index: 2;
63
+ }
64
+
65
+ label {
66
+ display: block;
67
+ margin-bottom: 0.5rem;
68
+ }
69
+
70
+ #title-label {
71
+ display: inline;
72
+ font-weight: bold;
73
+ }
74
+
75
+ d2l-input-textarea {
76
+ margin-bottom: 1rem;
77
+ }
78
+
79
+ d2l-button {
80
+ margin-right: 1rem;
81
+ }
82
+
83
+ .close-button {
84
+ left: auto;
85
+ position: absolute;
86
+ right: 0.6rem;
87
+ top: 0.6rem;
88
+ }
89
+
90
+ :host([dir="rtl"]) .close-button {
91
+ left: 0.6rem;
92
+ right: auto;
93
+ }
94
+ `;
95
+ }
96
+
97
+ constructor() {
98
+ super();
99
+ this.hideReason = false;
100
+ this.hideFeedback = false;
101
+ this._reason = '';
102
+ }
103
+
104
+ firstUpdated() {
105
+ super.firstUpdated();
106
+ this._setFocus();
107
+ }
108
+
109
+ render() {
110
+ return html`
111
+ <div class="opt-out-modal-fade"></div>
112
+ <div class="dialog" role="dialog" aria-labelledby="title-label">
113
+ <span tabindex="0" @focus="${this._shiftToLast}"></span>
114
+ <label id="title-label">${this.localize('components:optInFlyout:feedbackTitle')}</label>
115
+ <br><br>
116
+ <div ?hidden="${this.hideReason}">
117
+ <label id="reason-label">${this.localize('components:optInFlyout:feedbackReasonLabel')}</label>
118
+ <d2l-labs-opt-out-reason-selector id="reason-selector" aria-labelledby="reason-label" @selected="${this._handleSelected}">
119
+ <slot></slot>
120
+ </d2l-labs-opt-out-reason-selector>
121
+ </div>
122
+ <div ?hidden="${this.hideFeedback}">
123
+ <label id="feedback-label">${this.localize('components:optInFlyout:feedbackLabel')}</label>
124
+ <d2l-input-textarea id="feedback" labelled-by="feedback-label" rows="4" max-rows="4"></d2l-input-textarea>
125
+ </div>
126
+ <div>
127
+ <d2l-button id="done-button" primary="" @click="${this._confirm}">${this.localize('components:optInFlyout:done')}</d2l-button>
128
+ <d2l-button @click="${this._cancel}">${this.localize('components:optInFlyout:cancel')}</d2l-button>
129
+ </div>
130
+ <d2l-button-icon icon="tier1:close-small" id="close-button" class="close-button" @click="${this._cancel}" text="${this.localize('components:optInFlyout:close')}"></d2l-button-icon>
131
+ <span tabindex="0" @focus="${this._shiftToFirst}"></span>
132
+ </div>
133
+ `;
134
+ }
135
+
136
+ _cancel() {
137
+ this.dispatchEvent(new CustomEvent('cancel', defaultEventProperties));
138
+ }
139
+
140
+ _confirm() {
141
+ if (!this.shadowRoot) {
142
+ return;
143
+ }
144
+
145
+ const feedback = this.shadowRoot.querySelector('#feedback');
146
+
147
+ this.dispatchEvent(
148
+ new CustomEvent('confirm', {
149
+ detail: {
150
+ reason: this._reason || '',
151
+ feedback: (feedback && feedback.value || '').trim()
152
+ },
153
+ ...defaultEventProperties
154
+ })
155
+ );
156
+ }
157
+
158
+ _handleSelected(e) {
159
+ this._reason = e.detail.value;
160
+ }
161
+
162
+ _setFocus() {
163
+ if (!this.shadowRoot) {
164
+ return;
165
+ }
166
+
167
+ let element;
168
+
169
+ if (!this.hideReason) {
170
+ element = this.shadowRoot.querySelector('#reason-selector');
171
+ } else if (!this.hideFeedback) {
172
+ element = this.shadowRoot.querySelector('#feedback');
173
+ } else {
174
+ element = this.shadowRoot.querySelector('#done-button');
175
+ }
176
+
177
+ if (!element) {
178
+ return;
179
+ }
180
+
181
+ element.focus();
182
+ }
183
+
184
+ _shiftToFirst() {
185
+ this._setFocus();
186
+ }
187
+
188
+ _shiftToLast() {
189
+ if (!this.shadowRoot) {
190
+ return;
191
+ }
192
+
193
+ const element = this.shadowRoot.querySelector('#close-button');
194
+
195
+ if (!element) {
196
+ return;
197
+ }
198
+
199
+ element.focus();
200
+ }
201
+
202
+ }
203
+
204
+ customElements.define('d2l-labs-opt-out-dialog', OptOutDialog);
@@ -0,0 +1,82 @@
1
+ import '@brightspace-ui/core/components/typography/typography.js';
2
+ import './flyout-impl.js';
3
+ import { css, html, LitElement } from 'lit';
4
+
5
+ class OptOutFlyout extends LitElement {
6
+
7
+ static get properties() {
8
+ return {
9
+ opened: { type: Boolean, reflect: true },
10
+ flyoutTitle: { attribute: 'flyout-title', type: String },
11
+ shortDescription: { type: String, attribute: 'short-description' },
12
+ longDescription: { type: String, attribute: 'long-description' },
13
+ tabPosition: { type: String, attribute: 'tab-position' },
14
+ noTransform: { type: Boolean, attribute: 'no-transform' },
15
+ tutorialLink: { type: String, attribute: 'tutorial-link' },
16
+ helpDocsLink: { type: String, attribute: 'help-docs-link' },
17
+ hideReason: { type: Boolean, attribute: 'hide-reason' },
18
+ hideFeedback: { type: Boolean, attribute: 'hide-feedback' }
19
+ };
20
+ }
21
+
22
+ static get styles() {
23
+ return css`
24
+ d2l-labs-opt-in-flyout-impl {
25
+ font-size: 20px;
26
+ }
27
+ `;
28
+ }
29
+
30
+ constructor() {
31
+ super();
32
+ this.opened = false;
33
+ }
34
+
35
+ render() {
36
+ return html`
37
+ <d2l-labs-opt-in-flyout-impl
38
+ id="flyout-impl"
39
+ class="d2l-typography"
40
+ opt-out
41
+ flyout-title="${this.flyoutTitle}"
42
+ short-description="${this.shortDescription}"
43
+ long-description="${this.longDescription}"
44
+ tab-position="${this.tabPosition}"
45
+ tutorial-link="${this.tutorialLink}"
46
+ help-docs-link="${this.helpDocsLink}"
47
+ ?hide-reason="${this.hideReason}"
48
+ ?hide-feedback="${this.hideFeedback}"
49
+ ?no-transform="${this.noTransform}"
50
+ ?opened="${this.opened}"
51
+ @flyout-opened="${this._handleOpened}"
52
+ @flyout-closed="${this._handleClosed}">
53
+ <slot></slot>
54
+ </d2l-labs-opt-in-flyout-impl>
55
+ `;
56
+ }
57
+
58
+ focus() {
59
+ if (!this.shadowRoot) {
60
+ return;
61
+ }
62
+
63
+ const element = this.shadowRoot.querySelector('d2l-labs-opt-in-flyout-impl');
64
+
65
+ if (!element) {
66
+ return;
67
+ }
68
+
69
+ element.focus();
70
+ }
71
+
72
+ _handleClosed() {
73
+ this.opened = false;
74
+ }
75
+
76
+ _handleOpened() {
77
+ this.opened = true;
78
+ }
79
+
80
+ }
81
+
82
+ customElements.define('d2l-labs-opt-out-flyout', OptOutFlyout);
@@ -0,0 +1,149 @@
1
+ import './opt-out-reason.js';
2
+ import { css, html, LitElement } from 'lit';
3
+ import { composeMixins } from '@brightspace-ui/core/helpers/composeMixins.js';
4
+ import { inputStyles } from '@brightspace-ui/core/components/inputs/input-styles.js';
5
+ import { LocalizeLabsElement } from '../localize-labs-element.js';
6
+ import { RtlMixin } from '@brightspace-ui/core/mixins/rtl-mixin.js';
7
+
8
+ class OptOutReasonSelector extends composeMixins(
9
+ LitElement,
10
+ LocalizeLabsElement,
11
+ RtlMixin
12
+ ) {
13
+ static get properties() {
14
+ return {
15
+ _reasons: { state: true }
16
+ };
17
+ }
18
+
19
+ static get styles() {
20
+ return [
21
+ inputStyles,
22
+ css`
23
+ select {
24
+ -moz-appearance: none;
25
+ -webkit-appearance: none;
26
+ appearance: none;
27
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2242%22%20height%3D%2242%22%20viewBox%3D%220%200%2042%2042%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%23f2f3f5%22%20d%3D%22M0%200h42v42H0z%22%2F%3E%3Cpath%20stroke%3D%22%23d3d9e3%22%20d%3D%22M0%200v42%22%2F%3E%3Cpath%20d%3D%22M14.99%2019.582l4.95%204.95a1.5%201.5%200%200%200%202.122%200l4.95-4.95a1.5%201.5%200%200%200-2.122-2.122L21%2021.35l-3.888-3.89a1.5%201.5%200%200%200-2.12%202.122z%22%20fill%3D%22%23565A5C%22%2F%3E%3C%2Fsvg%3E");
28
+ background-position: right center;
29
+ background-repeat: no-repeat;
30
+ background-size: contain;
31
+ display: block;
32
+ margin-bottom: 1.5rem !important;
33
+ position: relative;
34
+ width: 80%;
35
+ }
36
+
37
+ /* for ie11 - avoid displaying default select arrow */
38
+ select::-ms-expand {
39
+ display: none;
40
+ }
41
+
42
+ /* for ie11 - prevent background box from covering select arrow */
43
+ select::-ms-value {
44
+ background-color: transparent;
45
+ color: var(--d2l-input-color);
46
+ }
47
+
48
+ :host([dir="rtl"]) select {
49
+ background-position: left center !important;
50
+ }
51
+
52
+ #options {
53
+ display: none;
54
+ }
55
+ `
56
+ ];
57
+ }
58
+
59
+ constructor() {
60
+ super();
61
+ this._reasons = [];
62
+ }
63
+
64
+ connectedCallback() {
65
+ super.connectedCallback();
66
+ this._onSlotChanged();
67
+ }
68
+
69
+ render() {
70
+ return html`
71
+ <select class="d2l-input" id="selector" @change="${this._reasonSelected}" onload="${this.focus()}">
72
+ <option disabled="" value="">${this.localize('components:optInFlyout:feedbackChooseReason')}</option>
73
+ ${this._reasons.map((item) => html`<option value="${item.key}">${item.text}</option>`)}
74
+ <option value="Other">${this.localize('components:optInFlyout:feedbackReasonOther')}</option>
75
+ </select>
76
+ <div id="options">
77
+ <slot id="options-slot" @slotchange="${this._onSlotChanged}"></slot>
78
+ </div>
79
+ `;
80
+ }
81
+
82
+ focus() {
83
+ this.shadowRoot.querySelector('#selector')?.focus();
84
+ }
85
+
86
+ _onSlotChanged() {
87
+ /* Passing <option> elements directly into a <select> tag with a slot doesn't work.
88
+ * Instead, pass in <d2l-labs-opt-out-reason> elements, and this component will construct
89
+ * the options from the passed in options.
90
+ */
91
+ const selector = this.shadowRoot.querySelector('#selector');
92
+ if (!selector) {
93
+ return;
94
+ }
95
+ selector.selectedIndex = 0;
96
+ let children = this.shadowRoot.querySelector('#options-slot')?.assignedNodes({ flatten: true });
97
+
98
+ children = children.filter(child =>
99
+ child &&
100
+ child.tagName === 'D2L-LABS-OPT-OUT-REASON' &&
101
+ child.key &&
102
+ child.text
103
+ ).map(child => ({
104
+ key: child.key,
105
+ text: child.text
106
+ }));
107
+
108
+ if (children.length <= 0) {
109
+ // Use default options if no valid options were provided
110
+ children = [
111
+ { key: 'PreferOldExperience', text: this.localize('components:optInFlyout:feedbackReasonPreferOldExperience') },
112
+ { key: 'MissingFeature', text: this.localize('components:optInFlyout:feedbackReasonMissingFeature') },
113
+ { key: 'NotReadyForSomethingNew', text: this.localize('components:optInFlyout:feedbackReasonNotReadyForSomethingNew') },
114
+ { key: 'JustCheckingSomething', text: this.localize('components:optInFlyout:feedbackReasonJustCheckingSomething') }
115
+ ];
116
+ }
117
+
118
+ this._reasons = children;
119
+ }
120
+
121
+ _reasonSelected() {
122
+ const selectionIndex = this.shadowRoot.querySelector('#selector').selectedIndex;
123
+ if (selectionIndex < 1) {
124
+ this._setSelectedReason(null);
125
+ return;
126
+ }
127
+
128
+ const selection = this.shadowRoot.querySelector('#selector').options[selectionIndex];
129
+ if (!selection || !selection.value) {
130
+ this._setSelectedReason(null);
131
+ return;
132
+ }
133
+
134
+ this._setSelectedReason(selection.value);
135
+ }
136
+
137
+ _setSelectedReason(value) {
138
+ this.dispatchEvent(
139
+ new CustomEvent('selected', {
140
+ bubbles: true,
141
+ composed: true,
142
+ detail: { value }
143
+ })
144
+ );
145
+ }
146
+
147
+ }
148
+
149
+ customElements.define('d2l-labs-opt-out-reason-selector', OptOutReasonSelector);
@@ -0,0 +1,22 @@
1
+ import { css, LitElement } from 'lit';
2
+
3
+ class OptOutReason extends LitElement {
4
+
5
+ static get properties() {
6
+ return {
7
+ key: { type: String },
8
+ text: { type: String }
9
+ };
10
+ }
11
+
12
+ static get styles() {
13
+ return css`
14
+ :host {
15
+ display: none;
16
+ }
17
+ `;
18
+ }
19
+
20
+ }
21
+
22
+ customElements.define('d2l-labs-opt-out-reason', OptOutReason);
package/src/lang/ar.js CHANGED
@@ -1,4 +1,22 @@
1
- /* eslint quotes: 0 */
2
-
3
1
  export default {
2
+ "components:optInFlyout:cancel": "إلغاء",
3
+ "components:optInFlyout:close": "إغلاق مربع الحوار هذا",
4
+ "components:optInFlyout:done": "تم",
5
+ "components:optInFlyout:feedbackChooseReason": "-- يُرجى اختيار سبب --",
6
+ "components:optInFlyout:feedbackLabel": "ما الذي يمكننا القيام به لتتشوّق إلى استخدام خدمتنا؟",
7
+ "components:optInFlyout:feedbackReasonJustCheckingSomething": "أرجع للتحقّق من أمر ما فحسب",
8
+ "components:optInFlyout:feedbackReasonLabel": "هلا أخبرتنا بسبب رجوعك إلى الإصدار القديم؟",
9
+ "components:optInFlyout:feedbackReasonMissingFeature": "لا يتضمّن ميزة أستخدمها",
10
+ "components:optInFlyout:feedbackReasonNotReadyForSomethingNew": "ليس الوقت مناسبًا لتجربة هذا الإصدار",
11
+ "components:optInFlyout:feedbackReasonOther": "غير ذلك",
12
+ "components:optInFlyout:feedbackReasonPreferOldExperience": "أعتقد أن الإصدار القديم يوفر تجربة أفضل",
13
+ "components:optInFlyout:helpMessage": "اقرأ *مستندات التعليمات* الخاصة بنا للبدء!",
14
+ "components:optInFlyout:leaveOff": "الاستمرار في إيقاف التشغيل",
15
+ "components:optInFlyout:leaveOn": "الاستمرار في التشغيل",
16
+ "components:optInFlyout:openOptIn": "فتح مربع حوار الاشتراك",
17
+ "components:optInFlyout:openOptOut": "فتح مربع حوار إلغاء الاشتراك",
18
+ "components:optInFlyout:tutorialAndHelpMessage": "شاهد *الدروس التعليمية* الخاصة بنا أو اقرأ ~مستندات التعليمات الخاصة بنا~ للبدء!",
19
+ "components:optInFlyout:tutorialMessage": "شاهد *الدروس التعليمية* الخاصة بنا لمساعدتك على البدء!",
20
+ "components:optInFlyout:turnOff": "إيقاف التشغيل",
21
+ "components:optInFlyout:turnOn": "التشغيل"
4
22
  };
package/src/lang/cy.js CHANGED
@@ -1,4 +1,23 @@
1
- /* eslint quotes: 0 */
2
-
3
1
  export default {
2
+ "components:optInFlyout:cancel": "Canslo",
3
+ "components:optInFlyout:close": "Cau’r deialog hwn",
4
+ "components:optInFlyout:done": "Wedi Gorffen",
5
+ "components:optInFlyout:feedbackChooseReason": "-- Dewiswch reswm --",
6
+ "components:optInFlyout:feedbackLabel": "Beth allwn ni ei wneud i droi hwn yn rhywbeth y byddech chi’n dwlu ar ei ddefnyddio?",
7
+ "components:optInFlyout:feedbackReasonJustCheckingSomething": "Dim ond yn newid yn ôl i wirio rhywbeth",
8
+ "components:optInFlyout:feedbackReasonLabel": "A fyddech cystal â rhoi gwybod i ni pam eich bod yn newid yn ôl?",
9
+ "components:optInFlyout:feedbackReasonMissingFeature": "Mae nodwedd rydw i’n ei defnyddio ar goll",
10
+ "components:optInFlyout:feedbackReasonNotReadyForSomethingNew": "Nid yw’n amser da i fi roi cynnig ar y fersiwn hwn",
11
+ "components:optInFlyout:feedbackReasonOther": "Arall",
12
+ "components:optInFlyout:feedbackReasonPreferOldExperience": "Rwy’n meddwl fod yr hen fersiwn yn brofiad gwell",
13
+ "components:optInFlyout:feedbackTitle": "Rhowch wybod i ni sut gallwn wella!",
14
+ "components:optInFlyout:helpMessage": "Darllenwch ein *dogfennaeth cymorth* i gychwyn arni!",
15
+ "components:optInFlyout:leaveOff": "Gadewch e bant",
16
+ "components:optInFlyout:leaveOn": "Gadewch e ymlaen",
17
+ "components:optInFlyout:openOptIn": "Agor y deialog optio i mewn",
18
+ "components:optInFlyout:openOptOut": "Agor y deialog optio allan",
19
+ "components:optInFlyout:turnOff": "Diffoddwch e",
20
+ "components:optInFlyout:turnOn": "Trowch e ymlaen",
21
+ "components:optInFlyout:tutorialAndHelpMessage": "Gwyliwch ein *tiwtorialau* neu darllenwch ein ~dogfennaeth cymorth~ i gychwyn arni!",
22
+ "components:optInFlyout:tutorialMessage": "Gwyliwch ein *tiwtorialau* i’ch helpu i gychwyn arni!"
4
23
  };
package/src/lang/da.js CHANGED
@@ -1,4 +1,23 @@
1
- /* eslint quotes: 0 */
2
-
3
1
  export default {
2
+ "components:optInFlyout:cancel": "Annuller",
3
+ "components:optInFlyout:close": "Luk denne dialogboks",
4
+ "components:optInFlyout:done": "Udført",
5
+ "components:optInFlyout:feedbackChooseReason": "-- Vælg en årsag --",
6
+ "components:optInFlyout:feedbackLabel": "Hvad kan vi gøre, før dette bliver et produkt, du gerne vil bruge?",
7
+ "components:optInFlyout:feedbackReasonJustCheckingSomething": "Jeg skifter tilbage for at tjekke noget",
8
+ "components:optInFlyout:feedbackReasonLabel": "Vil du fortælle os, hvorfor du skifter tilbage?",
9
+ "components:optInFlyout:feedbackReasonMissingFeature": "Der mangler en funktion, som jeg skal bruge",
10
+ "components:optInFlyout:feedbackReasonNotReadyForSomethingNew": "Det er ikke et godt tidspunkt for mig at prøve denne version",
11
+ "components:optInFlyout:feedbackReasonOther": "Andet",
12
+ "components:optInFlyout:feedbackReasonPreferOldExperience": "Jeg tror, at den gamle version er en bedre oplevelse",
13
+ "components:optInFlyout:feedbackTitle": "Fortæl os, hvordan vi kan gøre det bedre!",
14
+ "components:optInFlyout:helpMessage": "Læs vores *hjælp-dokumentation* for at komme i gang!",
15
+ "components:optInFlyout:leaveOff": "Lad den være slået fra",
16
+ "components:optInFlyout:leaveOn": "Lad den være slået til",
17
+ "components:optInFlyout:openOptIn": "Åbn tilmeldingsdialogboksen",
18
+ "components:optInFlyout:openOptOut": "Åbn udmeldelsesdialogboksen",
19
+ "components:optInFlyout:turnOff": "Slå den fra",
20
+ "components:optInFlyout:turnOn": "Slå den til",
21
+ "components:optInFlyout:tutorialAndHelpMessage": "Se vores *selvstudier*, eller læs vores ~hjælp-dokumentation~ for at komme i gang!",
22
+ "components:optInFlyout:tutorialMessage": "Se vores *selvstudier* for at komme i gang!"
4
23
  };
package/src/lang/de.js CHANGED
@@ -1,4 +1,23 @@
1
- /* eslint quotes: 0 */
2
-
3
1
  export default {
2
+ "components:optInFlyout:cancel": "Abbrechen",
3
+ "components:optInFlyout:close": "Dieses Dialogfeld schließen",
4
+ "components:optInFlyout:done": "Fertig",
5
+ "components:optInFlyout:feedbackChooseReason": "-- Bitte wählen Sie einen Grund --",
6
+ "components:optInFlyout:feedbackLabel": "Was können wir tun, damit Sie die neue Oberfläche gerne nutzen?",
7
+ "components:optInFlyout:feedbackReasonJustCheckingSomething": "Ich schalte nur um, um etwas nachzusehen",
8
+ "components:optInFlyout:feedbackReasonLabel": "Würden Sie uns sagen, warum Sie wieder zurückwechseln?",
9
+ "components:optInFlyout:feedbackReasonMissingFeature": "Es fehlt eine Funktion, die ich nutze",
10
+ "components:optInFlyout:feedbackReasonNotReadyForSomethingNew": "Es ist kein guter Zeitpunkt für mich, um diese Version auszuprobieren",
11
+ "components:optInFlyout:feedbackReasonOther": "Andere",
12
+ "components:optInFlyout:feedbackReasonPreferOldExperience": "Ich finde, dass die alte Version ein besseres Erlebnis bietet",
13
+ "components:optInFlyout:feedbackTitle": "Sagen Sie uns, wie wir uns verbessern können!",
14
+ "components:optInFlyout:helpMessage": "Lesen Sie unsere *Hilfe-Dokumentation*, um zu beginnen!",
15
+ "components:optInFlyout:leaveOff": "Ausgeschaltet lassen",
16
+ "components:optInFlyout:leaveOn": "Eingeschaltet lassen",
17
+ "components:optInFlyout:openOptIn": "Aktivierungsdialog öffnen",
18
+ "components:optInFlyout:openOptOut": "Deaktivierungsdialog öffnen",
19
+ "components:optInFlyout:turnOff": "Ausschalten",
20
+ "components:optInFlyout:turnOn": "Einschalten",
21
+ "components:optInFlyout:tutorialAndHelpMessage": "Sehen Sie unsere *Tutorials* an, oder lesen Sie unsere ~Hilfe-Dokumentation~, um zu beginnen!",
22
+ "components:optInFlyout:tutorialMessage": "Unsere *Tutorials* helfen Ihnen beim Start!"
4
23
  };
package/src/lang/en.js CHANGED
@@ -1,4 +1,23 @@
1
- /* eslint quotes: 0 */
2
-
3
1
  export default {
2
+ "components:optInFlyout:cancel": "Cancel",
3
+ "components:optInFlyout:close": "Close this dialog",
4
+ "components:optInFlyout:done": "Done",
5
+ "components:optInFlyout:feedbackChooseReason": "-- Please choose a reason --",
6
+ "components:optInFlyout:feedbackLabel": "What could we do to make this something you'd love to use?",
7
+ "components:optInFlyout:feedbackReasonJustCheckingSomething": "Just switching back to check something",
8
+ "components:optInFlyout:feedbackReasonLabel": "Would you mind telling us why you are switching back?",
9
+ "components:optInFlyout:feedbackReasonMissingFeature": "It's missing a feature that I use",
10
+ "components:optInFlyout:feedbackReasonNotReadyForSomethingNew": "It's not a good time for me to try this version",
11
+ "components:optInFlyout:feedbackReasonOther": "Other",
12
+ "components:optInFlyout:feedbackReasonPreferOldExperience": "I think the old version is a better experience",
13
+ "components:optInFlyout:feedbackTitle": "Let us know how to improve!",
14
+ "components:optInFlyout:helpMessage": "Read our *help documentation* to get started!",
15
+ "components:optInFlyout:leaveOff": "Leave it off",
16
+ "components:optInFlyout:leaveOn": "Leave it on",
17
+ "components:optInFlyout:openOptIn": "Open the opt-in dialog",
18
+ "components:optInFlyout:openOptOut": "Open the opt-out dialog",
19
+ "components:optInFlyout:turnOff": "Turn it off",
20
+ "components:optInFlyout:turnOn": "Turn it on",
21
+ "components:optInFlyout:tutorialAndHelpMessage": "Watch our *tutorials* or read our ~help documentation~ to get started!",
22
+ "components:optInFlyout:tutorialMessage": "Watch our *tutorials* to help you get started!"
4
23
  };
package/src/lang/es-es.js CHANGED
@@ -1,4 +1,23 @@
1
- /* eslint quotes: 0 */
2
-
3
1
  export default {
2
+ "components:optInFlyout:cancel": "Cancelar",
3
+ "components:optInFlyout:close": "Cerrar este cuadro de diálogo",
4
+ "components:optInFlyout:done": "Listo",
5
+ "components:optInFlyout:feedbackChooseReason": "-- Seleccione un motivo --",
6
+ "components:optInFlyout:feedbackLabel": "¿Qué podríamos hacer para que esto sea algo que le encantaría utilizar?",
7
+ "components:optInFlyout:feedbackReasonJustCheckingSomething": "Quiero volver atrás a verificar algo",
8
+ "components:optInFlyout:feedbackReasonLabel": "¿Le importaría decirnos por qué desea volver atrás?",
9
+ "components:optInFlyout:feedbackReasonMissingFeature": "Falta una función que utilizo",
10
+ "components:optInFlyout:feedbackReasonNotReadyForSomethingNew": "No es un buen momento para probar esta versión",
11
+ "components:optInFlyout:feedbackReasonOther": "Otro",
12
+ "components:optInFlyout:feedbackReasonPreferOldExperience": "Creo que la versión anterior proporciona una experiencia mejor",
13
+ "components:optInFlyout:feedbackTitle": "Háganos saber cómo podemos mejorar.",
14
+ "components:optInFlyout:helpMessage": "¡Lea nuestra *documentación de ayuda* para comenzar!",
15
+ "components:optInFlyout:leaveOff": "Mantener desactivado",
16
+ "components:optInFlyout:leaveOn": "Mantener activado",
17
+ "components:optInFlyout:openOptIn": "Abrir el cuadro de diálogo de suscripción",
18
+ "components:optInFlyout:openOptOut": "Abrir el cuadro de diálogo de anulación de suscripción",
19
+ "components:optInFlyout:turnOff": "Desactivar",
20
+ "components:optInFlyout:turnOn": "Activar",
21
+ "components:optInFlyout:tutorialAndHelpMessage": "Consulte nuestros *tutoriales* o lea nuestra ~documentación de ayuda~ para comenzar.",
22
+ "components:optInFlyout:tutorialMessage": "Consulte nuestros *tutoriales* como ayuda adicional para empezar."
4
23
  };
package/src/lang/es.js CHANGED
@@ -1,4 +1,23 @@
1
- /* eslint quotes: 0 */
2
-
3
1
  export default {
2
+ "components:optInFlyout:cancel": "Cancelar",
3
+ "components:optInFlyout:close": "Cerrar este cuadro de diálogo",
4
+ "components:optInFlyout:done": "Listo",
5
+ "components:optInFlyout:feedbackChooseReason": "-- Seleccione un motivo --",
6
+ "components:optInFlyout:feedbackLabel": "¿Qué podríamos hacer para que esto sea algo que le encantaría utilizar?",
7
+ "components:optInFlyout:feedbackReasonJustCheckingSomething": "Quiero volver atrás a verificar algo",
8
+ "components:optInFlyout:feedbackReasonLabel": "¿Le importaría decirnos por qué desea volver atrás?",
9
+ "components:optInFlyout:feedbackReasonMissingFeature": "Falta una función que utilizo",
10
+ "components:optInFlyout:feedbackReasonNotReadyForSomethingNew": "No me parece un buen momento para probar esta versión",
11
+ "components:optInFlyout:feedbackReasonOther": "Otro",
12
+ "components:optInFlyout:feedbackReasonPreferOldExperience": "Creo que la versión anterior ofrece una mejor experiencia",
13
+ "components:optInFlyout:feedbackTitle": "Háganos saber cómo podemos mejorar.",
14
+ "components:optInFlyout:helpMessage": "Lea nuestra *documentación de ayuda* para comenzar.",
15
+ "components:optInFlyout:leaveOff": "Mantenerla apagada",
16
+ "components:optInFlyout:leaveOn": "Mantenerla activada",
17
+ "components:optInFlyout:openOptIn": "Abrir cuadro de diálogo de suscripción",
18
+ "components:optInFlyout:openOptOut": "Abrir cuadro de diálogo de anulación de suscripción",
19
+ "components:optInFlyout:turnOff": "Desactivar",
20
+ "components:optInFlyout:turnOn": "Activar",
21
+ "components:optInFlyout:tutorialAndHelpMessage": "Vea nuestros *tutoriales* o lea nuestra ~documentación de ayuda~ para comenzar.",
22
+ "components:optInFlyout:tutorialMessage": "Vea nuestros *tutoriales* para saber cómo comenzar."
4
23
  };
package/src/lang/fr-fr.js CHANGED
@@ -1,4 +1,23 @@
1
- /* eslint quotes: 0 */
2
-
3
1
  export default {
2
+ "components:optInFlyout:cancel": "Annuler",
3
+ "components:optInFlyout:close": "Fermer cette boîte de dialogue",
4
+ "components:optInFlyout:done": "Terminé",
5
+ "components:optInFlyout:feedbackChooseReason": "-- Choisissez un motif --",
6
+ "components:optInFlyout:feedbackLabel": "Que pourrions-nous améliorer pour que vous aimiez utiliser cette expérience ?",
7
+ "components:optInFlyout:feedbackReasonJustCheckingSomething": "Je souhaite juste revenir en arrière pour effectuer des vérifications",
8
+ "components:optInFlyout:feedbackReasonLabel": "Pourriez-vous nous expliquer pourquoi vous êtes revenu à l’ancienne expérience ?",
9
+ "components:optInFlyout:feedbackReasonMissingFeature": "Il manque l’une des fonctionnalités que j’utilise",
10
+ "components:optInFlyout:feedbackReasonNotReadyForSomethingNew": "Ce n’est pas le bon moment pour essayer cette version",
11
+ "components:optInFlyout:feedbackReasonOther": "Autre",
12
+ "components:optInFlyout:feedbackReasonPreferOldExperience": "Je pense que l’ancienne version est une meilleure expérience",
13
+ "components:optInFlyout:feedbackTitle": "Dites-nous comment nous améliorer !",
14
+ "components:optInFlyout:helpMessage": "Consultez notre * documentation d’aide * pour commencer !",
15
+ "components:optInFlyout:leaveOff": "Laisser désactivé",
16
+ "components:optInFlyout:leaveOn": "Laisser actif",
17
+ "components:optInFlyout:openOptIn": "Ouvrir la boîte de dialogue d’adhésion",
18
+ "components:optInFlyout:openOptOut": "Ouvrir la boîte de dialogue d’annulation d’adhésion",
19
+ "components:optInFlyout:turnOff": "Désactiver",
20
+ "components:optInFlyout:turnOn": "Activer",
21
+ "components:optInFlyout:tutorialAndHelpMessage": "Regardez nos * tutoriels *ou lisez notre ~ documentation d’aide ~ pour commencer !",
22
+ "components:optInFlyout:tutorialMessage": "Regardez nos * tutoriels * pour vous aider à démarrer !"
4
23
  };