@brightspace-ui/labs 2.5.0 → 2.6.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/package.json CHANGED
@@ -15,6 +15,8 @@
15
15
  "./components/opt-out-reason.js": "./src/components/opt-in-flyout/opt-out-reason.js",
16
16
  "./components/pager-numeric.js": "./src/components/pagination/pager-numeric.js",
17
17
  "./components/view-toggle.js": "./src/components/view-toggle/view-toggle.js",
18
+ "./components/wizard.js": "./src/components/wizard/wizard.js",
19
+ "./components/wizard-step.js": "./src/components/wizard/step.js",
18
20
  "./controllers/computed-value.js": "./src/controllers/computed-values/computed-value.js",
19
21
  "./controllers/computed-values.js": "./src/controllers/computed-values/computed-values.js",
20
22
  "./controllers/language-listener.js": "./src/controllers/language-listener/language-listener.js"
@@ -54,5 +56,5 @@
54
56
  "@brightspace-ui/core": "^3",
55
57
  "lit": "^3"
56
58
  },
57
- "version": "2.5.0"
59
+ "version": "2.6.0"
58
60
  }
@@ -6,7 +6,7 @@ A Lit element component for toggling between views.
6
6
 
7
7
  ```html
8
8
  <script type="module">
9
- import '@brightspace-ui-labs/view-toggle/view-toggle.js';
9
+ import '@brightspace-ui/labs/components/view-toggle.js';
10
10
  </script>
11
11
  <d2l-labs-view-toggle
12
12
  toggle-options='[{"text":"Bananas","val":"overall"},{"text":"Minions","val":"minios"},{"text":"Pyjamas","val":"subject"}]'
@@ -0,0 +1,49 @@
1
+ # Wizard
2
+
3
+ The `<d2l-labs-wizard>` can be used to be display a stepped workflow.
4
+
5
+ ## Usage
6
+
7
+ ```html
8
+ <script type="module">
9
+ import '@brightspace-ui/labs/components/wizard.js';
10
+ import '@brightspace-ui/labs/components/wizard-step.js';
11
+ </script>
12
+ <d2l-labs-wizard id="wizard">
13
+ <d2l-labs-wizard-step step-title="Step 1">
14
+ <p> First step </p>
15
+ </d2l-labs-wizard-step>
16
+
17
+ <d2l-labs-wizard-step step-title="Step 2">
18
+ <p> Second step </p>
19
+ </d2l-labs-wizard-step>
20
+ </d2l-labs-wizard>
21
+ <script>
22
+ var wizard = document.getElementById('wizard');
23
+ wizard.addEventListener('stepper-next', function() {
24
+ wizard.next();
25
+ });
26
+ wizard.addEventListener('stepper-restart', function() {
27
+ wizard.restart();
28
+ });
29
+ </script>
30
+ ```
31
+
32
+
33
+ ### Properties:
34
+
35
+ | Properties | Type | Description |
36
+ |--|--|--|
37
+ | `step-title` | String | Text displayed in the wizard step |
38
+ | `restart-button-title` | String | Text that is displayed within the button |
39
+ | `restart-button-tooltip` | String | Text that is displayed within the button tooltip |
40
+ | `hide-restart-button` | Boolean | Hide the Restart button |
41
+ | `next-button-title` | String | Text that is displayed within the button |
42
+ | `next-button-tooltip` | String | Text that is displayed within the button tooltip |
43
+ | `disable-next-button` | Boolean | Disable the Next button |
44
+ | `hide-next-button` | Boolean | Hide the Next button |
45
+
46
+ ### Events:
47
+ - `stepper-next`: dispatched when the Next button is clicked
48
+ - `stepper-restart`: dispatched when the Restart button is clicked
49
+
@@ -0,0 +1,187 @@
1
+ import { css, html, LitElement, nothing } from 'lit';
2
+ import { bodySmallStyles } from '@brightspace-ui/core/components/typography/styles.js';
3
+ import { LocalizeLabsElement } from '../localize-labs-element.js';
4
+
5
+ class D2LSingleStepHeader extends LocalizeLabsElement(LitElement) {
6
+
7
+ static get properties() {
8
+ return {
9
+ stepTitle: {
10
+ type: String,
11
+ attribute: 'step-title'
12
+ },
13
+ totalSteps: {
14
+ type: Number,
15
+ attribute: 'total-steps'
16
+ },
17
+ currentStep: {
18
+ type: Number,
19
+ attribute: 'current-step'
20
+ },
21
+ selectedStep: {
22
+ type: Number,
23
+ attribute: 'selected-step'
24
+ },
25
+ fillHeaderWidth: {
26
+ type: Boolean,
27
+ attribute: 'fill-header-width',
28
+ reflect: true
29
+ }
30
+ };
31
+ }
32
+
33
+ static get styles() {
34
+ return [bodySmallStyles, css`
35
+ .d2l-labs-single-step-header-circle {
36
+ border: 2px solid;
37
+ border-radius: 50%;
38
+ height: 26px;
39
+ width: 26px;
40
+ }
41
+
42
+ .d2l-labs-single-step-header-inner-progress-circle {
43
+ background-color: var(--d2l-color-celestine);
44
+ border-radius: 50%;
45
+ height: 22px;
46
+ margin: 2px;
47
+ width: 22px;
48
+ }
49
+
50
+ .d2l-labs-single-step-header-step {
51
+ display: inline-block;
52
+ text-align: center;
53
+ }
54
+
55
+ hr {
56
+ height: 4px;
57
+ margin: auto;
58
+ width: 60px;
59
+ }
60
+
61
+ .d2l-labs-single-step-header-step-header {
62
+ display: flex;
63
+ }
64
+
65
+ .d2l-labs-single-step-header-step-title {
66
+ background: none !important;
67
+ border: none !important;
68
+ color: var(--d2l-color-ferrite);
69
+ margin: auto;
70
+ max-width: 120px;
71
+ overflow-wrap: break-word;
72
+ }
73
+
74
+ :host([fill-header-width]) .d2l-labs-single-step-header-step-title {
75
+ max-width: 150px;
76
+ }
77
+
78
+ .d2l-labs-single-step-header-done-icon {
79
+ color: var(--d2l-color-olivine);
80
+ height: 20px;
81
+ padding: 2px;
82
+ width: 20px;
83
+ }
84
+
85
+ .d2l-labs-single-step-header-done {
86
+ border-color: var(--d2l-color-olivine);
87
+ color: var(--d2l-color-olivine);
88
+ }
89
+
90
+ .d2l-labs-single-step-header-done hr,
91
+ .d2l-labs-single-step-header-in-progress hr:first-child {
92
+ background: var(--d2l-color-olivine);
93
+ border: var(--d2l-color-olivine);
94
+ }
95
+
96
+ .d2l-labs-single-step-header-in-progress {
97
+ border-color: var(--d2l-color-celestine);
98
+ color: var(--d2l-color-celestine);
99
+ }
100
+
101
+ .d2l-labs-single-step-header-not-started .d2l-labs-single-step-header-circle {
102
+ background-color: var(--d2l-color-mica);
103
+ border-color: var(--d2l-color-mica);
104
+ }
105
+
106
+ .d2l-labs-single-step-header-in-progress hr:last-child,
107
+ .d2l-labs-single-step-header-not-started hr {
108
+ background: var(--d2l-color-mica);
109
+ border: var(--d2l-color-mica);
110
+ }
111
+
112
+ .d2l-labs-single-step-header-first hr:first-child,
113
+ .d2l-labs-single-step-header-last hr:last-child {
114
+ visibility: hidden;
115
+ }
116
+ `];
117
+ }
118
+
119
+ constructor() {
120
+ super();
121
+
122
+ this.stepTitle = '';
123
+ this.totalSteps = 0;
124
+ this.currentStep = 0;
125
+ this.selectedStep = 0;
126
+ this.fillHeaderWidth = false;
127
+ }
128
+
129
+ render() {
130
+ return html`
131
+ <div class="${this._getIsFirst()} ${this._getIsLast()}">
132
+ <div class="d2l-labs-single-step-header-step">
133
+ <div class="${this._getProgressStatus()} d2l-labs-single-step-header-step-header">
134
+ <hr>
135
+
136
+ <div class="d2l-labs-single-step-header-circle" title="${this._getStepLabel()}">
137
+ ${this._isDone() ? html`<d2l-icon class="d2l-labs-single-step-header-done-icon" icon="d2l-tier1:check"></d2l-icon>` : nothing}
138
+ ${this._isInProgress() ? html`<div class="d2l-labs-single-step-header-inner-progress-circle"></div>` : nothing}
139
+ </div>
140
+
141
+ <hr>
142
+ </div>
143
+ <div class="${this._getProgressStatus()} d2l-labs-single-step-header-step-title d2l-body-small">${this.stepTitle}</div>
144
+ </div>
145
+ </div>
146
+ `;
147
+ }
148
+
149
+ _getIsFirst() {
150
+ if (this.currentStep === 0) {
151
+ return 'd2l-labs-single-step-header-first';
152
+ }
153
+ return '';
154
+ }
155
+
156
+ _getIsLast() {
157
+ if (this.totalSteps === this.currentStep + 1) {
158
+ return 'd2l-labs-single-step-header-last';
159
+ }
160
+ return '';
161
+ }
162
+
163
+ _getProgressStatus() {
164
+ let className = 'd2l-labs-single-step-header-not-started';
165
+ if (this._isDone()) {
166
+ className = 'd2l-labs-single-step-header-done';
167
+ } else if (this._isInProgress()) {
168
+ className = 'd2l-labs-single-step-header-in-progress';
169
+ }
170
+ return className;
171
+ }
172
+
173
+ _getStepLabel() {
174
+ return this.localize('components:wizard:aria.steplabel', 'totalSteps', this.totalSteps, 'currentStep', this.currentStep + 1);
175
+ }
176
+
177
+ _isDone() {
178
+ return this.currentStep < this.selectedStep;
179
+ }
180
+
181
+ _isInProgress() {
182
+ return this.currentStep === this.selectedStep;
183
+ }
184
+
185
+ }
186
+
187
+ customElements.define('d2l-labs-single-step-header', D2LSingleStepHeader);
@@ -0,0 +1,147 @@
1
+ import '@brightspace-ui/core/components/button/button.js';
2
+ import { css, html, LitElement } from 'lit';
3
+ import { LocalizeLabsElement } from '../localize-labs-element.js';
4
+ import { offscreenStyles } from '@brightspace-ui/core/components/offscreen/offscreen.js';
5
+
6
+ class D2LStep extends LocalizeLabsElement(LitElement) {
7
+ static get properties() {
8
+ return {
9
+ nextButtonTitle: {
10
+ type: String,
11
+ attribute: 'next-button-title'
12
+ },
13
+ nextButtonTooltip: {
14
+ type: String,
15
+ attribute: 'next-button-tooltip'
16
+ },
17
+ restartButtonTitle: {
18
+ type: String,
19
+ attribute: 'restart-button-title'
20
+ },
21
+ restartButtonTooltip: {
22
+ type: String,
23
+ attribute: 'restart-button-tooltip'
24
+ },
25
+ hideRestartButton: {
26
+ type: Boolean,
27
+ attribute: 'hide-restart-button'
28
+ },
29
+ hideNextButton: {
30
+ type: Boolean,
31
+ attribute: 'hide-next-button'
32
+ },
33
+ disableNextButton: {
34
+ type: Boolean,
35
+ attribute: 'disable-next-button'
36
+ },
37
+ nextButtonAriaLabel: {
38
+ type: String,
39
+ attribute: 'next-button-aria-label'
40
+ },
41
+ restartButtonAriaLabel: {
42
+ type: String,
43
+ attribute: 'restart-button-aria-label'
44
+ },
45
+ ariaTitle: {
46
+ type: String,
47
+ attribute: 'aria-title'
48
+ },
49
+ stepTitle: {
50
+ type: String,
51
+ attribute: 'step-title'
52
+ },
53
+ stepCount: {
54
+ type: Number,
55
+ attribute: 'step-count'
56
+ },
57
+ thisStep: {
58
+ type: Number,
59
+ attribute: 'this-step'
60
+ }
61
+ };
62
+ }
63
+
64
+ static get styles() {
65
+ return [offscreenStyles, css`
66
+ .d2l-labs-wizard-step-footer {
67
+ display: flex;
68
+ justify-content: space-between;
69
+ width: 100%;
70
+ }
71
+
72
+ .d2l-labs-wizard-step-button-next {
73
+ float: right;
74
+ }
75
+ `];
76
+ }
77
+
78
+ constructor() {
79
+ super();
80
+ this.hideRestartButton = false;
81
+ this.hideNextButton = false;
82
+ this.disableNextButton = false;
83
+ this.nextButtonAriaLabel = '';
84
+ this.restartButtonAriaLabel = '';
85
+ this.ariaTitle = '';
86
+ this.stepTitle = '';
87
+ this.stepCount = 1;
88
+ this.thisStep = 1;
89
+ }
90
+
91
+ render() {
92
+ return html`
93
+ <div id="aria-title" tabindex="0" class="d2l-offscreen">${this._getAriaTitle()}</div>
94
+ <slot></slot>
95
+ <div class="d2l-labs-wizard-step-footer">
96
+ ${this.hideRestartButton
97
+ ? html`<div></div>`
98
+ : html`
99
+ <d2l-button
100
+ title="${!this.restartButtonTooltip ? this.localize('components:wizard:restart.button.tooltip') : this.restartButtonTooltip}"
101
+ aria-label="${this.restartButtonAriaLabel}"
102
+ @click="${this._restartClick}"
103
+ >
104
+ ${!this.restartButtonTitle ? this.localize('components:wizard:stepper.defaults.restart') : this.restartButtonTitle}
105
+ </d2l-button>`}
106
+
107
+ ${this.hideNextButton
108
+ ? html`<div></div>`
109
+ : html`
110
+ <d2l-button
111
+ class="d2l-labs-wizard-step-button-next"
112
+ title="${!this.nextButtonTooltip ? this.localize('components:wizard:next.button.tooltip') : this.nextButtonTooltip}"
113
+ aria-label="${this.nextButtonAriaLabel}"
114
+ @click="${this._nextClick}"
115
+ primary
116
+ ?disabled="${this.disableNextButton}"
117
+ >
118
+ ${!this.nextButtonTitle ? this.localize('components:wizard:stepper.defaults.next') : this.nextButtonTitle}
119
+ </d2l-button>`}
120
+
121
+ </div>
122
+ `;
123
+ }
124
+
125
+ _getAriaTitle() {
126
+ if (this.ariaTitle) {
127
+ return this.ariaTitle;
128
+ } else if (this.stepTitle) {
129
+ return `${this.stepTitle}. ${this._getStepLabel()}`;
130
+ }
131
+ return this._getStepLabel();
132
+ }
133
+
134
+ _getStepLabel() {
135
+ return this.localize('components:wizard:aria.steplabel', 'totalSteps', this.stepCount, 'currentStep', this.thisStep);
136
+ }
137
+
138
+ _nextClick() {
139
+ this.dispatchEvent(new CustomEvent('stepper-next', { bubbles: true, composed: true }));
140
+ }
141
+
142
+ _restartClick() {
143
+ this.dispatchEvent(new CustomEvent('stepper-restart', { bubbles: true, composed: true }));
144
+ }
145
+ }
146
+
147
+ customElements.define('d2l-labs-wizard-step', D2LStep);
@@ -0,0 +1,122 @@
1
+ import './single-step-header.js';
2
+ import { css, html, LitElement } from 'lit';
3
+
4
+ class D2LWizard extends LitElement {
5
+ static get properties() {
6
+ return {
7
+ stepTitles: {
8
+ type: Array,
9
+ attribute: 'step-titles'
10
+ },
11
+ stepCount: {
12
+ type: Number,
13
+ attribute: 'step-count'
14
+ },
15
+ selectedStep: {
16
+ type: Number,
17
+ attribute: 'selected-step'
18
+ },
19
+ fillHeaderWidth: {
20
+ type: Boolean,
21
+ attribute: 'fill-header-width',
22
+ reflect: true
23
+ }
24
+ };
25
+ }
26
+
27
+ static get styles() {
28
+ return css`
29
+ .d2l-labs-wizard-header {
30
+ display: flex;
31
+ flex: 1;
32
+ justify-content: center;
33
+ margin: 30px 0;
34
+ overflow-x: auto;
35
+ width: 100%;
36
+ }
37
+ `;
38
+ }
39
+
40
+ constructor() {
41
+ super();
42
+
43
+ this.stepTitles = [];
44
+ this.stepCount = 0;
45
+ this.selectedStep = 0;
46
+ this.fillHeaderWidth = false;
47
+ }
48
+
49
+ render() {
50
+ return html`
51
+ <div class="d2l-labs-wizard-header">
52
+ ${this.stepTitles.map((title, index) =>
53
+ html`
54
+ <d2l-labs-single-step-header total-steps="${this.stepCount}" current-step="${index}" selected-step="${this.selectedStep}" step-title="${title}" ?fill-header-width="${this.fillHeaderWidth}"></d2l-labs-single-step-header>
55
+ `)}
56
+
57
+ </div>
58
+ <slot @slotchange="${this.#handleSlotChange}"></slot>
59
+ `;
60
+ }
61
+
62
+ currentStep() {
63
+ return this.selectedStep;
64
+ }
65
+
66
+ next() {
67
+ this.selectedStep = (this.selectedStep + 1) === this.stepCount ? this.selectedStep : (this.selectedStep + 1);
68
+
69
+ this.#updateStep();
70
+
71
+ if (window.parentIFrame) {
72
+ window.parentIFrame.scrollTo(0, 0);
73
+ }
74
+
75
+ this.#focusAriaTitleOfStep();
76
+ }
77
+
78
+ restart() {
79
+ this.selectedStep = 0;
80
+
81
+ this.#updateStep();
82
+
83
+ this.#focusAriaTitleOfStep();
84
+ }
85
+
86
+ #focusAriaTitleOfStep() {
87
+ const slotChildren = this.shadowRoot.querySelector('slot').assignedNodes({ flatten: true }).filter(node => node.nodeType === Node.ELEMENT_NODE);
88
+ slotChildren.forEach(child => {
89
+ if (child.style.display !== 'none') {
90
+ const ariaTitle = child.shadowRoot.getElementById('aria-title');
91
+ if (ariaTitle) {
92
+ ariaTitle.focus();
93
+ return;
94
+ }
95
+ }
96
+ });
97
+ }
98
+
99
+ #handleSlotChange() {
100
+ this.#updateStep();
101
+ }
102
+
103
+ #updateStep() {
104
+ const steps = this.shadowRoot.querySelector('slot').assignedNodes({ flatten: true }).filter((node) => node.nodeType === Node.ELEMENT_NODE);
105
+ this.stepCount = steps.length;
106
+
107
+ this.stepTitles = [];
108
+
109
+ steps.forEach((element, index) => {
110
+
111
+ this.stepTitles.push(element.stepTitle);
112
+ element.setAttribute('step-count', this.stepCount);
113
+ element.setAttribute('this-step', index + 1);
114
+ element.style.display = index !== this.selectedStep ? 'none' : '';
115
+ });
116
+
117
+ this.stepCount = steps.length;
118
+ }
119
+
120
+ }
121
+
122
+ customElements.define('d2l-labs-wizard', D2LWizard);
package/src/lang/ar.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "رقم الصفحة {pageNumber} من {maxPageNumber}",
43
43
  "components:pagination:nextPage": "الصفحة التالية",
44
44
  "components:pagination:previousPage": "الصفحة السابقة",
45
- "components:pagination:resultsPerPage": "النتائج لكل صفحة"
45
+ "components:pagination:resultsPerPage": "النتائج لكل صفحة",
46
+ "components:wizard:aria.steplabel": "الخطوة {currentStep} من أصل {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "التالي",
48
+ "components:wizard:stepper.defaults.restart": "إعادة تشغيل",
49
+ "components:wizard:restart.button.tooltip": "العودة إلى الخطوة الأولى",
50
+ "components:wizard:next.button.tooltip": "المتابعة إلى الخطوة التالية"
46
51
  };
package/src/lang/cy.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Rhif tudalen {pageNumber} o {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Tudalen nesaf",
44
44
  "components:pagination:previousPage": "Y dudalen flaenorol",
45
- "components:pagination:resultsPerPage": "Canlyniadau fesul tudalen"
45
+ "components:pagination:resultsPerPage": "Canlyniadau fesul tudalen",
46
+ "components:wizard:aria.steplabel": "Cam {currentStep} o {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Nesaf",
48
+ "components:wizard:stepper.defaults.restart": "Ailddechrau",
49
+ "components:wizard:restart.button.tooltip": "Back to first step",
50
+ "components:wizard:next.button.tooltip": "Proceed to next step"
46
51
  };
package/src/lang/da.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Sidenummer {pageNumber} af {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Næste side",
44
44
  "components:pagination:previousPage": "Forrige side",
45
- "components:pagination:resultsPerPage": "Resultater pr. side"
45
+ "components:pagination:resultsPerPage": "Resultater pr. side",
46
+ "components:wizard:aria.steplabel": "Step {currentStep} of {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Next",
48
+ "components:wizard:stepper.defaults.restart": "Restart",
49
+ "components:wizard:restart.button.tooltip": "Back to first step",
50
+ "components:wizard:next.button.tooltip": "Proceed to next step"
46
51
  };
package/src/lang/de.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Seitennummer {pageNumber} von {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Nächste Seite",
44
44
  "components:pagination:previousPage": "Vorherige Seite",
45
- "components:pagination:resultsPerPage": "Ergebnisse pro Seite"
45
+ "components:pagination:resultsPerPage": "Ergebnisse pro Seite",
46
+ "components:wizard:aria.steplabel": "Schritt {currentStep} von {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Weiter",
48
+ "components:wizard:stepper.defaults.restart": "Neu starten",
49
+ "components:wizard:restart.button.tooltip": "Zurück zum ersten Schritt",
50
+ "components:wizard:next.button.tooltip": "Fahren Sie mit dem nächsten Schritt fort"
46
51
  };
package/src/lang/en-gb.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Page number {pageNumber} of {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Next page",
44
44
  "components:pagination:previousPage": "Previous page",
45
- "components:pagination:resultsPerPage": "Results per page"
45
+ "components:pagination:resultsPerPage": "Results per page",
46
+ "components:wizard:aria.steplabel": "Step {currentStep} of {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Next",
48
+ "components:wizard:stepper.defaults.restart": "Restart",
49
+ "components:wizard:restart.button.tooltip": "Back to first step",
50
+ "components:wizard:next.button.tooltip": "Proceed to next step"
46
51
  };
package/src/lang/en.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Page number {pageNumber} of {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Next page",
44
44
  "components:pagination:previousPage": "Previous page",
45
- "components:pagination:resultsPerPage": "Results per page"
45
+ "components:pagination:resultsPerPage": "Results per page",
46
+ "components:wizard:aria.steplabel": "Step {currentStep} of {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Next",
48
+ "components:wizard:stepper.defaults.restart": "Restart",
49
+ "components:wizard:restart.button.tooltip": "Back to first step",
50
+ "components:wizard:next.button.tooltip": "Proceed to next step"
46
51
  };
package/src/lang/es-es.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Página número {pageNumber} de {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Página siguiente",
44
44
  "components:pagination:previousPage": "Página anterior",
45
- "components:pagination:resultsPerPage": "Resultados por página"
45
+ "components:pagination:resultsPerPage": "Resultados por página",
46
+ "components:wizard:aria.steplabel": "Paso {currentStep} de {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Siguiente",
48
+ "components:wizard:stepper.defaults.restart": "Reiniciar",
49
+ "components:wizard:restart.button.tooltip": "Volver al primer paso",
50
+ "components:wizard:next.button.tooltip": "Avanzar al siguiente paso"
46
51
  };
package/src/lang/es.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Página número {pageNumber} de {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Página siguiente",
44
44
  "components:pagination:previousPage": "Página anterior",
45
- "components:pagination:resultsPerPage": "Resultados por página"
45
+ "components:pagination:resultsPerPage": "Resultados por página",
46
+ "components:wizard:aria.steplabel": "Paso {currentStep} de {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Siguiente",
48
+ "components:wizard:stepper.defaults.restart": "Reiniciar",
49
+ "components:wizard:restart.button.tooltip": "Volver al primer paso",
50
+ "components:wizard:next.button.tooltip": "Avanzar al siguiente paso"
46
51
  };
package/src/lang/fr-fr.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Page numéro {pageNumber} sur {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Page suivante",
44
44
  "components:pagination:previousPage": "Page précédente",
45
- "components:pagination:resultsPerPage": "Résultats par page"
45
+ "components:pagination:resultsPerPage": "Résultats par page",
46
+ "components:wizard:aria.steplabel": "Étape {currentStep} sur {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Suivant",
48
+ "components:wizard:stepper.defaults.restart": "Redémarrer",
49
+ "components:wizard:restart.button.tooltip": "Revenir à la première étape",
50
+ "components:wizard:next.button.tooltip": "Passer à l’étape suivante"
46
51
  };
package/src/lang/fr-on.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Numéro de page {pageNumber} de {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Page suivante",
44
44
  "components:pagination:previousPage": "Page précédente",
45
- "components:pagination:resultsPerPage": "Résultats par page"
45
+ "components:pagination:resultsPerPage": "Résultats par page",
46
+ "components:wizard:aria.steplabel": "Étape {currentStep} de {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Page suivante",
48
+ "components:wizard:stepper.defaults.restart": "Redémarrer",
49
+ "components:wizard:restart.button.tooltip": "Retour à la première étape",
50
+ "components:wizard:next.button.tooltip": "Passer à la prochaine étape"
46
51
  };
package/src/lang/fr.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Numéro de page {pageNumber} de {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Page suivante",
44
44
  "components:pagination:previousPage": "Page précédente",
45
- "components:pagination:resultsPerPage": "Résultats par page"
45
+ "components:pagination:resultsPerPage": "Résultats par page",
46
+ "components:wizard:aria.steplabel": "Étape {currentStep} de {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Suivant",
48
+ "components:wizard:stepper.defaults.restart": "Redémarrer",
49
+ "components:wizard:restart.button.tooltip": "Retour à la première étape",
50
+ "components:wizard:next.button.tooltip": "Passer à la prochaine étape"
46
51
  };
package/src/lang/hi.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "{maxPageNumber} में से पेज नंबर {pageNumber}",
43
43
  "components:pagination:nextPage": "अगला पेज",
44
44
  "components:pagination:previousPage": "पिछला पेज",
45
- "components:pagination:resultsPerPage": "प्रति पेज के परिणाम"
45
+ "components:pagination:resultsPerPage": "प्रति पेज के परिणाम",
46
+ "components:wizard:aria.steplabel": "{totalSteps} में से {currentStep} चरण",
47
+ "components:wizard:stepper.defaults.next": "अगला",
48
+ "components:wizard:stepper.defaults.restart": "रीस्टार्ट करें",
49
+ "components:wizard:restart.button.tooltip": "पहले चरण पर वापस जाएँ",
50
+ "components:wizard:next.button.tooltip": "अगले चरण पर आगे बढ़ें"
46
51
  };
package/src/lang/ja.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "{maxPageNumber} のページ番号 {pageNumber}",
43
43
  "components:pagination:nextPage": "次のページ",
44
44
  "components:pagination:previousPage": "前のページ",
45
- "components:pagination:resultsPerPage": "ページごとの結果"
45
+ "components:pagination:resultsPerPage": "ページごとの結果",
46
+ "components:wizard:aria.steplabel": "ステップ {currentStep}/{totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "次へ",
48
+ "components:wizard:stepper.defaults.restart": "再開",
49
+ "components:wizard:restart.button.tooltip": "最初の手順に戻る",
50
+ "components:wizard:next.button.tooltip": "次の手順に進む"
46
51
  };
package/src/lang/ko.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "페이지 번호 {pageNumber} / {maxPageNumber}",
43
43
  "components:pagination:nextPage": "다음 페이지",
44
44
  "components:pagination:previousPage": "이전 페이지",
45
- "components:pagination:resultsPerPage": "페이지당 결과 수"
45
+ "components:pagination:resultsPerPage": "페이지당 결과 수",
46
+ "components:wizard:aria.steplabel": "{currentStep}/{totalSteps} 단계",
47
+ "components:wizard:stepper.defaults.next": "다음",
48
+ "components:wizard:stepper.defaults.restart": "다시 시작",
49
+ "components:wizard:restart.button.tooltip": "첫 번째 단계로 돌아갑니다",
50
+ "components:wizard:next.button.tooltip": "다음 단계로 진행합니다"
46
51
  };
package/src/lang/nl.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Paginanummer {pageNumber} van {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Volgende pagina",
44
44
  "components:pagination:previousPage": "Vorige pagina",
45
- "components:pagination:resultsPerPage": "Resultaten per pagina"
45
+ "components:pagination:resultsPerPage": "Resultaten per pagina",
46
+ "components:wizard:aria.steplabel": "Stap {currentStep} van {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Volgende",
48
+ "components:wizard:stepper.defaults.restart": "Opnieuw starten",
49
+ "components:wizard:restart.button.tooltip": "Terug naar eerste stap",
50
+ "components:wizard:next.button.tooltip": "Ga verder naar de volgende stap"
46
51
  };
package/src/lang/pt.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Número da página {pageNumber} de {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Próxima página",
44
44
  "components:pagination:previousPage": "Página anterior",
45
- "components:pagination:resultsPerPage": "Resultados por página"
45
+ "components:pagination:resultsPerPage": "Resultados por página",
46
+ "components:wizard:aria.steplabel": "Etapa {currentStep} de {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Avançar",
48
+ "components:wizard:stepper.defaults.restart": "Reiniciar",
49
+ "components:wizard:restart.button.tooltip": "Voltar para a primeira etapa",
50
+ "components:wizard:next.button.tooltip": "Ir para a próxima etapa"
46
51
  };
package/src/lang/sv.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Sidnummer {pageNumber} av {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Nästa sida",
44
44
  "components:pagination:previousPage": "Föregående sida",
45
- "components:pagination:resultsPerPage": "Resultat per sida"
45
+ "components:pagination:resultsPerPage": "Resultat per sida",
46
+ "components:wizard:aria.steplabel": "Steg {currentStep} av {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Nästa",
48
+ "components:wizard:stepper.defaults.restart": "Starta om",
49
+ "components:wizard:restart.button.tooltip": "Tillbaka till första steget",
50
+ "components:wizard:next.button.tooltip": "Gå vidare till nästa steg"
46
51
  };
package/src/lang/tr.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "Sayfa numarası {pageNumber} / {maxPageNumber}",
43
43
  "components:pagination:nextPage": "Sonraki sayfa",
44
44
  "components:pagination:previousPage": "Önceki sayfa",
45
- "components:pagination:resultsPerPage": "Sayfa başına sonuç"
45
+ "components:pagination:resultsPerPage": "Sayfa başına sonuç",
46
+ "components:wizard:aria.steplabel": "Adım {currentStep} / {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "İleri",
48
+ "components:wizard:stepper.defaults.restart": "Yeniden Başlat",
49
+ "components:wizard:restart.button.tooltip": "İlk adıma geri dön",
50
+ "components:wizard:next.button.tooltip": "Sonraki adıma ilerle"
46
51
  };
package/src/lang/zh-cn.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "第 {pageNumber} 页,共 {maxPageNumber} 页",
43
43
  "components:pagination:nextPage": "下一页",
44
44
  "components:pagination:previousPage": "上一页",
45
- "components:pagination:resultsPerPage": "每页结果数"
45
+ "components:pagination:resultsPerPage": "每页结果数",
46
+ "components:wizard:aria.steplabel": "Step {currentStep} of {totalSteps}",
47
+ "components:wizard:stepper.defaults.next": "Next",
48
+ "components:wizard:stepper.defaults.restart": "Restart",
49
+ "components:wizard:restart.button.tooltip": "Back to first step",
50
+ "components:wizard:next.button.tooltip": "Proceed to next step"
46
51
  };
package/src/lang/zh-tw.js CHANGED
@@ -42,5 +42,10 @@ export default {
42
42
  "components:pagination:currentPage": "頁碼 {pageNumber} / {maxPageNumber}",
43
43
  "components:pagination:nextPage": "下一頁",
44
44
  "components:pagination:previousPage": "上一頁",
45
- "components:pagination:resultsPerPage": "每頁結果"
45
+ "components:pagination:resultsPerPage": "每頁結果",
46
+ "components:wizard:aria.steplabel": "第 {currentStep} 步,共 {totalSteps} 步",
47
+ "components:wizard:stepper.defaults.next": "下一個",
48
+ "components:wizard:stepper.defaults.restart": "重新開始",
49
+ "components:wizard:restart.button.tooltip": "返回第一個步驟",
50
+ "components:wizard:next.button.tooltip": "繼續前往下一個步驟"
46
51
  };