@vonage/vivid 3.55.0 → 3.56.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.
@@ -2708,6 +2708,10 @@
2708
2708
  "name": "--vvd-button-cta-faint",
2709
2709
  "default": "var(--vvd-color-cta-50)"
2710
2710
  },
2711
+ {
2712
+ "name": "--vvd-button-cta-fierce-primary",
2713
+ "default": "var(--vvd-color-cta-700)"
2714
+ },
2711
2715
  {
2712
2716
  "name": "--vvd-button-success-primary",
2713
2717
  "default": "var(--vvd-color-success-500)"
@@ -2740,6 +2744,10 @@
2740
2744
  "name": "--vvd-button-success-faint",
2741
2745
  "default": "var(--vvd-color-success-50)"
2742
2746
  },
2747
+ {
2748
+ "name": "--vvd-button-success-fierce-primary",
2749
+ "default": "var(--vvd-color-success-700)"
2750
+ },
2743
2751
  {
2744
2752
  "name": "--vvd-button-alert-primary",
2745
2753
  "default": "var(--vvd-color-alert-500)"
@@ -2772,6 +2780,10 @@
2772
2780
  "name": "--vvd-button-alert-faint",
2773
2781
  "default": "var(--vvd-color-alert-50)"
2774
2782
  },
2783
+ {
2784
+ "name": "--vvd-button-alert-fierce-primary",
2785
+ "default": "var(--vvd-color-alert-700)"
2786
+ },
2775
2787
  {
2776
2788
  "name": "--vvd-button-accent-primary",
2777
2789
  "default": "var(--vvd-color-canvas-text)"
@@ -2803,6 +2815,10 @@
2803
2815
  {
2804
2816
  "name": "--vvd-button-accent-faint",
2805
2817
  "default": "var(--vvd-color-neutral-50)"
2818
+ },
2819
+ {
2820
+ "name": "--vvd-button-accent-fierce-primary",
2821
+ "default": "var(--vvd-color-canvas-text)"
2806
2822
  }
2807
2823
  ],
2808
2824
  "slots": [
@@ -7278,6 +7294,18 @@
7278
7294
  }
7279
7295
  }
7280
7296
  },
7297
+ {
7298
+ "kind": "method",
7299
+ "name": "#formatNumbersInMessage",
7300
+ "parameters": [
7301
+ {
7302
+ "name": "message",
7303
+ "type": {
7304
+ "text": "string"
7305
+ }
7306
+ }
7307
+ ]
7308
+ },
7281
7309
  {
7282
7310
  "kind": "field",
7283
7311
  "name": "autoDiscover",
@@ -12106,6 +12134,15 @@
12106
12134
  },
12107
12135
  "description": "slider connotation",
12108
12136
  "privacy": "public"
12137
+ },
12138
+ {
12139
+ "kind": "field",
12140
+ "name": "valueTextFormatter",
12141
+ "type": {
12142
+ "text": "(value: string) => string"
12143
+ },
12144
+ "description": "Custom function that generates a string for the component's \"aria-valuetext\" attribute based on the current value.",
12145
+ "privacy": "public"
12109
12146
  }
12110
12147
  ],
12111
12148
  "attributes": [
@@ -2,7 +2,7 @@ import { Button as FoundationButton } from '@microsoft/fast-foundation';
2
2
  import type { Appearance, Connotation, Shape, Size } from '../enums.js';
3
3
  import { AffixIconWithTrailing } from '../../shared/patterns/affix';
4
4
  export type ButtonConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert>;
5
- export type ButtonAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost>;
5
+ export type ButtonAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost | Appearance.GhostLight>;
6
6
  export type ButtonShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
7
7
  export type ButtonSize = Extract<Size, Size.SuperCondensed | Size.Condensed | Size.Normal | Size.Expanded>;
8
8
  export declare class Button extends FoundationButton {
@@ -1,9 +1,13 @@
1
1
  import { Slider as FastSlider } from '@microsoft/fast-foundation';
2
2
  import type { Connotation } from '../enums';
3
+ import { Localized } from '../../shared/patterns';
3
4
  export type SliderConnotation = Connotation.Accent | Connotation.CTA;
4
5
  export declare class Slider extends FastSlider {
5
6
  ariaLabel: string | null;
6
7
  ariaValuetext: string | null;
7
8
  markers: boolean;
8
9
  connotation?: SliderConnotation;
10
+ valueTextFormatter: (value: string) => string;
11
+ }
12
+ export interface Slider extends Localized {
9
13
  }
@@ -0,0 +1,329 @@
1
+ 'use strict';
2
+
3
+ const Play = "Wiedergabe";
4
+ const Pause = "Pause";
5
+ const Replay = "Erneut abspielen";
6
+ const Duration = "Dauer";
7
+ const LIVE = "LIVE";
8
+ const Loaded = "Geladen";
9
+ const Progress = "Status";
10
+ const Fullscreen = "Vollbild";
11
+ const Mute = "Stumm schalten";
12
+ const Unmute = "Ton einschalten";
13
+ const Subtitles = "Untertitel";
14
+ const Captions = "Untertitel";
15
+ const Chapters = "Kapitel";
16
+ const Close = "Schließen";
17
+ const Descriptions = "Beschreibungen";
18
+ const Text = "Schrift";
19
+ const White = "Weiß";
20
+ const Black = "Schwarz";
21
+ const Red = "Rot";
22
+ const Green = "Grün";
23
+ const Blue = "Blau";
24
+ const Yellow = "Gelb";
25
+ const Magenta = "Magenta";
26
+ const Cyan = "Türkis";
27
+ const Background = "Hintergrund";
28
+ const Window = "Fenster";
29
+ const Transparent = "Durchsichtig";
30
+ const Opaque = "Undurchsichtig";
31
+ const None = "Kein";
32
+ const Raised = "Erhoben";
33
+ const Depressed = "Gedrückt";
34
+ const Uniform = "Uniform";
35
+ const Casual = "Zwanglos";
36
+ const Script = "Schreibschrift";
37
+ const Reset = "Zurücksetzen";
38
+ const Done = "Fertig";
39
+ const Color = "Farbe";
40
+ const Opacity = "Deckkraft";
41
+ const de = {
42
+ Play: Play,
43
+ Pause: Pause,
44
+ Replay: Replay,
45
+ "Current Time": "Aktueller Zeitpunkt",
46
+ Duration: Duration,
47
+ "Remaining Time": "Verbleibende Zeit",
48
+ "Stream Type": "Streamtyp",
49
+ LIVE: LIVE,
50
+ Loaded: Loaded,
51
+ Progress: Progress,
52
+ Fullscreen: Fullscreen,
53
+ "Exit Fullscreen": "Vollbildmodus beenden",
54
+ Mute: Mute,
55
+ Unmute: Unmute,
56
+ "Playback Rate": "Wiedergabegeschwindigkeit",
57
+ Subtitles: Subtitles,
58
+ "subtitles off": "Untertitel aus",
59
+ Captions: Captions,
60
+ "captions off": "Untertitel aus",
61
+ Chapters: Chapters,
62
+ "You aborted the media playback": "Sie haben die Videowiedergabe abgebrochen.",
63
+ "A network error caused the media download to fail part-way.": "Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.",
64
+ "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.",
65
+ "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Die Videowiedergabe wurde entweder wegen eines Problems mit einem beschädigten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterstützt werden, abgebrochen.",
66
+ "No compatible source was found for this media.": "Für dieses Video wurde keine kompatible Quelle gefunden.",
67
+ "Play Video": "Video abspielen",
68
+ Close: Close,
69
+ "Modal Window": "Modales Fenster",
70
+ "This is a modal window": "Dies ist ein modales Fenster",
71
+ "This modal can be closed by pressing the Escape key or activating the close button.": "Durch Drücken der Esc-Taste bzw. Betätigung der Schaltfläche \"Schließen\" wird dieses modale Fenster geschlossen.",
72
+ ", opens captions settings dialog": ", öffnet Einstellungen für Untertitel",
73
+ ", opens subtitles settings dialog": ", öffnet Einstellungen für Untertitel",
74
+ ", selected": ", ausgewählt",
75
+ "captions settings": "Untertiteleinstellungen",
76
+ "subtitles settings": "Untertiteleinstellungen",
77
+ "descriptions settings": "Einstellungen für Beschreibungen",
78
+ "Close Modal Dialog": "Modales Fenster schließen",
79
+ Descriptions: Descriptions,
80
+ "descriptions off": "Beschreibungen aus",
81
+ "The media is encrypted and we do not have the keys to decrypt it.": "Die Entschlüsselungsschlüssel für den verschlüsselten Medieninhalt sind nicht verfügbar.",
82
+ ", opens descriptions settings dialog": ", öffnet Einstellungen für Beschreibungen",
83
+ "Audio Track": "Tonspur",
84
+ Text: Text,
85
+ White: White,
86
+ Black: Black,
87
+ Red: Red,
88
+ Green: Green,
89
+ Blue: Blue,
90
+ Yellow: Yellow,
91
+ Magenta: Magenta,
92
+ Cyan: Cyan,
93
+ Background: Background,
94
+ Window: Window,
95
+ Transparent: Transparent,
96
+ "Semi-Transparent": "Halbdurchsichtig",
97
+ Opaque: Opaque,
98
+ "Font Size": "Schriftgröße",
99
+ "Text Edge Style": "Textkantenstil",
100
+ None: None,
101
+ Raised: Raised,
102
+ Depressed: Depressed,
103
+ Uniform: Uniform,
104
+ "Drop shadow": "Schlagschatten",
105
+ "Font Family": "Schriftfamilie",
106
+ "Proportional Sans-Serif": "Proportionale Sans-Serif",
107
+ "Monospace Sans-Serif": "Monospace Sans-Serif",
108
+ "Proportional Serif": "Proportionale Serif",
109
+ "Monospace Serif": "Monospace Serif",
110
+ Casual: Casual,
111
+ Script: Script,
112
+ "Small Caps": "Small-Caps",
113
+ Reset: Reset,
114
+ "restore all settings to the default values": "Alle Einstellungen auf die Standardwerte zurücksetzen",
115
+ Done: Done,
116
+ "Caption Settings Dialog": "Einstellungsdialog für Untertitel",
117
+ "Beginning of dialog window. Escape will cancel and close the window.": "Anfang des Dialogfensters. Esc bricht ab und schließt das Fenster.",
118
+ "End of dialog window.": "Ende des Dialogfensters.",
119
+ "Audio Player": "Audio-Player",
120
+ "Video Player": "Video-Player",
121
+ "Progress Bar": "Fortschrittsbalken",
122
+ "progress bar timing: currentTime={1} duration={2}": "{1} von {2}",
123
+ "Volume Level": "Lautstärke",
124
+ "{1} is loading.": "{1} wird geladen.",
125
+ "Seek to live, currently behind live": "Zur Live-Übertragung wechseln. Aktuell wird es nicht live abgespielt.",
126
+ "Seek to live, currently playing live": "Zur Live-Übertragung wechseln. Es wird aktuell live abgespielt.",
127
+ "Exit Picture-in-Picture": "Bild-im-Bild-Modus beenden",
128
+ "Picture-in-Picture": "Bild-im-Bild-Modus",
129
+ "No content": "Kein Inhalt",
130
+ Color: Color,
131
+ Opacity: Opacity,
132
+ "Text Background": "Texthintergrund",
133
+ "Caption Area Background": "Hintergrund des Untertitelbereichs",
134
+ "Playing in Picture-in-Picture": "Wird im Bild-im-Bild-Modus wiedergegeben",
135
+ "Skip forward {1} seconds": "{1} Sekunden vorwärts",
136
+ "Skip backward {1} seconds": "{1} Sekunden zurück"
137
+ };
138
+
139
+ const videoPlayerLocale = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
140
+ __proto__: null,
141
+ Background,
142
+ Black,
143
+ Blue,
144
+ Captions,
145
+ Casual,
146
+ Chapters,
147
+ Close,
148
+ Color,
149
+ Cyan,
150
+ Depressed,
151
+ Descriptions,
152
+ Done,
153
+ Duration,
154
+ Fullscreen,
155
+ Green,
156
+ LIVE,
157
+ Loaded,
158
+ Magenta,
159
+ Mute,
160
+ None,
161
+ Opacity,
162
+ Opaque,
163
+ Pause,
164
+ Play,
165
+ Progress,
166
+ Raised,
167
+ Red,
168
+ Replay,
169
+ Reset,
170
+ Script,
171
+ Subtitles,
172
+ Text,
173
+ Transparent,
174
+ Uniform,
175
+ Unmute,
176
+ White,
177
+ Window,
178
+ Yellow,
179
+ default: de
180
+ }, Symbol.toStringTag, { value: 'Module' }));
181
+
182
+ const deDE = {
183
+ lang: "de-DE",
184
+ common: {
185
+ useCommaAsDecimalSeparator: true
186
+ },
187
+ datePicker: {
188
+ months: {
189
+ name: [
190
+ "Januar",
191
+ "Februar",
192
+ "März",
193
+ "April",
194
+ "Mai",
195
+ "Juni",
196
+ "Juli",
197
+ "August",
198
+ "September",
199
+ "Oktober",
200
+ "November",
201
+ "Dezember"
202
+ ],
203
+ shorthand: [
204
+ "Jan",
205
+ "Feb",
206
+ "Mär",
207
+ "Apr",
208
+ "Mai",
209
+ "Jun",
210
+ "Jul",
211
+ "Aug",
212
+ "Sep",
213
+ "Okt",
214
+ "Nov",
215
+ "Dez"
216
+ ]
217
+ },
218
+ weekdays: {
219
+ name: [
220
+ "Sonntag",
221
+ "Montag",
222
+ "Dienstag",
223
+ "Mittwoch",
224
+ "Donnerstag",
225
+ "Freitag",
226
+ "Samstag"
227
+ ],
228
+ shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"]
229
+ },
230
+ firstDayOfWeek: 1,
231
+ dateFormat: "dd.MM.yyyy",
232
+ dateFormatPlaceholder: "DD.MM.YYYY",
233
+ chooseDateLabel: "Datum auswählen",
234
+ changeDateLabel: (
235
+ /* istanbul ignore next */
236
+ (date) => `Datum ändern, ${date}`
237
+ ),
238
+ chooseDatesLabel: "Daten auswählen",
239
+ changeDatesLabel: (
240
+ /* istanbul ignore next */
241
+ (range) => `Daten ändern, ${range}`
242
+ ),
243
+ prevYearLabel: "Vorheriges Jahr",
244
+ prevMonthLabel: "Vorheriger Monat",
245
+ nextMonthLabel: "Nächster Monat",
246
+ nextYearLabel: "Nächstes Jahr",
247
+ clearLabel: "Löschen",
248
+ okLabel: "OK",
249
+ invalidDateError: "Bitte geben Sie ein gültiges Datum ein.",
250
+ invalidDateRangeError: "Bitte geben Sie einen gültigen Datumsbereich ein.",
251
+ startDateAfterMinDateError: (
252
+ /* istanbul ignore next */
253
+ (minDate) => `Das Startdatum muss ${minDate} oder später sein.`
254
+ ),
255
+ endDateBeforeMaxDateError: (
256
+ /* istanbul ignore next */
257
+ (maxDate) => `Das Enddatum muss ${maxDate} oder früher sein.`
258
+ )
259
+ },
260
+ timePicker: {
261
+ defaultTo12HourClock: false,
262
+ chooseTimeLabel: "Zeit auswählen",
263
+ changeTimeLabel: (
264
+ /* istanbul ignore next */
265
+ (time) => `Zeit ändern, ${time}`
266
+ ),
267
+ hoursLabel: "Stunden",
268
+ minutesLabel: "Minuten",
269
+ secondsLabel: "Sekunden",
270
+ meridiesLabel: "AM/PM",
271
+ clearLabel: "Löschen",
272
+ okLabel: "OK",
273
+ invalidTimeError: "Bitte geben Sie eine gültige Zeit ein."
274
+ },
275
+ filePicker: {
276
+ invalidFileTypeError: "Sie können keine Dateien dieses Typs auswählen.",
277
+ maxFilesExceededError: "Sie können keine weiteren Dateien auswählen.",
278
+ fileTooBigError: "Die Datei ist zu groß ({{filesize}}MiB). Maximale Dateigröße: {{maxFilesize}}MiB.",
279
+ removeFileLabel: "Datei entfernen"
280
+ },
281
+ audioPlayer: {
282
+ playButtonLabel: "Abspielen",
283
+ pauseButtonLabel: "Pause",
284
+ sliderLabel: "Wiedergabebalken",
285
+ skipForwardButton: "Vorwärts springen",
286
+ skipBackwardButton: "Rückwärts springen"
287
+ },
288
+ alert: {
289
+ dismissButtonLabel: "Schließen"
290
+ },
291
+ dialog: {
292
+ dismissButtonLabel: "Schließen"
293
+ },
294
+ banner: {
295
+ dismissButtonLabel: "Schließen"
296
+ },
297
+ numberField: {
298
+ incrementButtonLabel: "Erhöhen",
299
+ decrementButtonLabel: "Verringern"
300
+ },
301
+ splitButton: {
302
+ showMoreActionsLabel: "Weitere Aktionen anzeigen"
303
+ },
304
+ videoPlayer: videoPlayerLocale,
305
+ rangeSlider: {
306
+ startThumbLabel: "min",
307
+ endThumbLabel: "max"
308
+ },
309
+ dialPad: {
310
+ inputLabel: "Telefonnummer",
311
+ deleteButtonLabel: "Löschen",
312
+ callButtonLabel: "Anrufen",
313
+ endCallButtonLabel: "Anruf beenden",
314
+ digitOneLabel: "1",
315
+ digitTwoLabel: "2 ABC",
316
+ digitThreeLabel: "3 DEF",
317
+ digitFourLabel: "4 GHI",
318
+ digitFiveLabel: "5 JKL",
319
+ digitSixLabel: "6 MNO",
320
+ digitSevenLabel: "7 PQRS",
321
+ digitEightLabel: "8 TUV",
322
+ digitNineLabel: "9 WXYZ",
323
+ digitAsteriskLabel: "*",
324
+ digitZeroLabel: "0",
325
+ digitHashtagLabel: "#"
326
+ }
327
+ };
328
+
329
+ module.exports = deDE;
@@ -0,0 +1,3 @@
1
+ import type { Locale } from '../shared/localization/Locale';
2
+ declare const deDE: Locale;
3
+ export default deDE;