@ndla/ui 56.0.170-alpha.0 → 56.0.172-alpha.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.
Files changed (84) hide show
  1. package/dist/panda.buildinfo.json +1 -2
  2. package/dist/styles.css +2 -6
  3. package/es/Article/Article.mjs +1 -27
  4. package/es/Article/Article.mjs.map +1 -1
  5. package/es/Article/ArticleByline.mjs +31 -28
  6. package/es/Article/ArticleByline.mjs.map +1 -1
  7. package/es/Article/ArticleFootNotes.mjs +1 -0
  8. package/es/Article/ArticleFootNotes.mjs.map +1 -1
  9. package/es/AudioPlayer/Controls.mjs +6 -6
  10. package/es/AudioPlayer/Controls.mjs.map +1 -1
  11. package/es/Embed/IframeEmbed.mjs +2 -2
  12. package/es/Embed/IframeEmbed.mjs.map +1 -1
  13. package/es/Gloss/GlossExample.mjs +8 -8
  14. package/es/Gloss/GlossExample.mjs.map +1 -1
  15. package/es/Grid/Grid.mjs +2 -2
  16. package/es/Grid/Grid.mjs.map +1 -1
  17. package/es/index.mjs +4 -9
  18. package/es/model/ContentType.mjs +1 -6
  19. package/es/model/ContentType.mjs.map +1 -1
  20. package/lib/Article/Article.d.ts +0 -13
  21. package/lib/Article/Article.js +0 -27
  22. package/lib/Article/Article.js.map +1 -1
  23. package/lib/Article/ArticleByline.d.ts +4 -0
  24. package/lib/Article/ArticleByline.js +30 -27
  25. package/lib/Article/ArticleByline.js.map +1 -1
  26. package/lib/Article/ArticleFootNotes.js +1 -0
  27. package/lib/Article/ArticleFootNotes.js.map +1 -1
  28. package/lib/AudioPlayer/Controls.js +6 -6
  29. package/lib/AudioPlayer/Controls.js.map +1 -1
  30. package/lib/Embed/IframeEmbed.js +2 -2
  31. package/lib/Embed/IframeEmbed.js.map +1 -1
  32. package/lib/Gloss/GlossExample.js +8 -8
  33. package/lib/Gloss/GlossExample.js.map +1 -1
  34. package/lib/Grid/Grid.js +2 -2
  35. package/lib/Grid/Grid.js.map +1 -1
  36. package/lib/index.d.ts +2 -8
  37. package/lib/index.js +28 -16
  38. package/lib/model/ContentType.js +0 -24
  39. package/lib/model/ContentType.js.map +1 -1
  40. package/package.json +7 -6
  41. package/src/Article/Article.tsx +0 -58
  42. package/src/Article/ArticleByline.tsx +42 -37
  43. package/src/Article/ArticleFootNotes.tsx +1 -1
  44. package/src/Grid/Grid.tsx +2 -2
  45. package/src/index.ts +1 -9
  46. package/es/ContentTypeBadge/ContentTypeBadge.mjs +0 -48
  47. package/es/ContentTypeBadge/ContentTypeBadge.mjs.map +0 -1
  48. package/es/i18n/formatNestedMessages.mjs +0 -17
  49. package/es/i18n/formatNestedMessages.mjs.map +0 -1
  50. package/es/locale/messages-en.mjs +0 -466
  51. package/es/locale/messages-en.mjs.map +0 -1
  52. package/es/locale/messages-nb.mjs +0 -466
  53. package/es/locale/messages-nb.mjs.map +0 -1
  54. package/es/locale/messages-nn.mjs +0 -466
  55. package/es/locale/messages-nn.mjs.map +0 -1
  56. package/es/locale/messages-se.mjs +0 -466
  57. package/es/locale/messages-se.mjs.map +0 -1
  58. package/lib/ContentTypeBadge/ContentTypeBadge.d.ts +0 -16
  59. package/lib/ContentTypeBadge/ContentTypeBadge.js +0 -50
  60. package/lib/ContentTypeBadge/ContentTypeBadge.js.map +0 -1
  61. package/lib/i18n/formatNestedMessages.d.ts +0 -15
  62. package/lib/i18n/formatNestedMessages.js +0 -18
  63. package/lib/i18n/formatNestedMessages.js.map +0 -1
  64. package/lib/locale/messages-en.d.ts +0 -440
  65. package/lib/locale/messages-en.js +0 -467
  66. package/lib/locale/messages-en.js.map +0 -1
  67. package/lib/locale/messages-nb.d.ts +0 -440
  68. package/lib/locale/messages-nb.js +0 -467
  69. package/lib/locale/messages-nb.js.map +0 -1
  70. package/lib/locale/messages-nn.d.ts +0 -440
  71. package/lib/locale/messages-nn.js +0 -467
  72. package/lib/locale/messages-nn.js.map +0 -1
  73. package/lib/locale/messages-se.d.ts +0 -440
  74. package/lib/locale/messages-se.js +0 -467
  75. package/lib/locale/messages-se.js.map +0 -1
  76. package/src/ContentTypeBadge/ContentTypeBadge.stories.tsx +0 -75
  77. package/src/ContentTypeBadge/ContentTypeBadge.tsx +0 -79
  78. package/src/i18n/__tests__/formatNestedMessages-test.ts +0 -29
  79. package/src/i18n/formatNestedMessages.ts +0 -37
  80. package/src/locale/__tests__/translations-test.ts +0 -39
  81. package/src/locale/messages-en.ts +0 -481
  82. package/src/locale/messages-nb.ts +0 -482
  83. package/src/locale/messages-nn.ts +0 -482
  84. package/src/locale/messages-se.ts +0 -483
@@ -1,440 +0,0 @@
1
- /**
2
- * Copyright (c) 2018-present, NDLA.
3
- *
4
- * This source code is licensed under the GPLv3 license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import { subjectCategories } from "../model/SubjectCategories";
9
- import { subjectTypes } from "../model/SubjectTypes";
10
- declare const messages: {
11
- askNDLA: string;
12
- subjectCategories: {
13
- [subjectCategories.ACTIVE_SUBJECTS]: string;
14
- [subjectCategories.ARCHIVE_SUBJECTS]: string;
15
- [subjectCategories.BETA_SUBJECTS]: string;
16
- [subjectCategories.OTHER]: string;
17
- [subjectTypes.RESOURCE_COLLECTION]: string;
18
- };
19
- subjectTypes: {
20
- [subjectTypes.ARCHIVE_SUBJECT]: string;
21
- [subjectTypes.BETA_SUBJECT]: string;
22
- [subjectTypes.RESOURCE_COLLECTION]: string;
23
- [subjectTypes.SUBJECT]: string;
24
- };
25
- meta: {
26
- description: string;
27
- keywords: string;
28
- };
29
- logo: {
30
- altText: string;
31
- };
32
- article: {
33
- lastUpdated: string;
34
- useContent: string;
35
- authorsLabel_article: string;
36
- authorsLabel_learningPath: string;
37
- authorsLabel_external: string;
38
- copyPageLinkCopied: string;
39
- copyHeaderLink: string;
40
- conjunction: string;
41
- supplierLabel_one: string;
42
- supplierLabel_other: string;
43
- printPage: string;
44
- access: {
45
- onlyTeacher: string;
46
- };
47
- footnotes: string;
48
- };
49
- external: {
50
- lastUpdated: string;
51
- };
52
- learningPath: {
53
- copiedFrom: string;
54
- lastUpdated: string;
55
- };
56
- license: {
57
- tabs: {
58
- text: string;
59
- images: string;
60
- audio: string;
61
- video: string;
62
- h5p: string;
63
- files: string;
64
- embedlink: string;
65
- concept: string;
66
- gloss: string;
67
- podcast: string;
68
- other: string;
69
- };
70
- embedlink: {
71
- heading: string;
72
- description: string;
73
- copyTitle: string;
74
- hasCopiedTitle: string;
75
- };
76
- image: {
77
- rules: string;
78
- };
79
- images: {
80
- heading: string;
81
- description: string;
82
- rules: string;
83
- itemImage: {
84
- ariaLabel: string;
85
- zoomImageButtonLabel: string;
86
- zoomOutImageButtonLabel: string;
87
- expandByline: string;
88
- minimizeByline: string;
89
- };
90
- licenseText: string;
91
- restrictedUseText: string;
92
- };
93
- text: {
94
- heading: string;
95
- description: string;
96
- rules: string;
97
- published: string;
98
- licenseText: string;
99
- restrictedUseText: string;
100
- };
101
- audio: {
102
- heading: string;
103
- description: string;
104
- rules: string;
105
- licenseText: string;
106
- restrictedUseText: string;
107
- };
108
- podcast: {
109
- heading: string;
110
- description: string;
111
- rules: string;
112
- licenseText: string;
113
- restrictedUseText: string;
114
- };
115
- video: {
116
- heading: string;
117
- description: string;
118
- rules: string;
119
- itemImage: {
120
- ariaLabel: string;
121
- };
122
- licenseText: string;
123
- restrictedUseText: string;
124
- };
125
- other: {
126
- heading: string;
127
- description: string;
128
- itemImage: {
129
- ariaLabel: string;
130
- };
131
- };
132
- h5p: {
133
- heading: string;
134
- description: string;
135
- rules: string;
136
- licenseText: string;
137
- restrictedUseText: string;
138
- };
139
- concept: {
140
- heading: string;
141
- description: string;
142
- rules: string;
143
- embedlink: {
144
- heading: string;
145
- description: string;
146
- copyTitle: string;
147
- hasCopiedTitle: string;
148
- };
149
- licenseText: string;
150
- restrictedUseText: string;
151
- };
152
- gloss: {
153
- heading: string;
154
- description: string;
155
- rules: string;
156
- showOrHideExamples: string;
157
- embedlink: {
158
- heading: string;
159
- description: string;
160
- copyTitle: string;
161
- hasCopiedTitle: string;
162
- };
163
- licenseText: string;
164
- restrictedUseText: string;
165
- };
166
- files: {
167
- heading: string;
168
- description: string;
169
- rules: string;
170
- itemImage: {
171
- ariaLabel: string;
172
- };
173
- };
174
- copyTitle: string;
175
- embed: string;
176
- embedCopied: string;
177
- copyText: {
178
- now: string;
179
- podcast: string;
180
- by: string;
181
- internet: string;
182
- noTitle: string;
183
- downloadedFrom: string;
184
- readDate: string;
185
- };
186
- hasCopiedTitle: string;
187
- download: string;
188
- openLink: string;
189
- processed: string;
190
- };
191
- errorMessage: {
192
- title: string;
193
- description: string;
194
- back: string;
195
- goToFrontPage: string;
196
- };
197
- figure: {
198
- button: {
199
- alternative: string;
200
- original: string;
201
- };
202
- };
203
- contentTypes: {
204
- all: string;
205
- article: string;
206
- subject: string;
207
- "topic-article": string;
208
- learningpath: string;
209
- "learning-path": string;
210
- "subject-material": string;
211
- standard: string;
212
- "tasks-and-activities": string;
213
- "source-material": string;
214
- "assessment-resources": string;
215
- topic: string;
216
- multidisciplinary: string;
217
- image: string;
218
- concept: string;
219
- audio: string;
220
- podcast: string;
221
- h5p: string;
222
- video: string;
223
- missing: string;
224
- external: string;
225
- gloss: string;
226
- programme: string;
227
- "podcast-series": string;
228
- "frontpage-article": string;
229
- };
230
- languages: {
231
- nb: string;
232
- nn: string;
233
- en: string;
234
- fr: string;
235
- de: string;
236
- se: string;
237
- sma: string;
238
- es: string;
239
- zh: string;
240
- ukr: string;
241
- unknown: string;
242
- prefixChangeLanguage: string;
243
- };
244
- breadcrumb: {
245
- toFrontpage: string;
246
- breadcrumb: string;
247
- };
248
- codeBlock: {
249
- copiedCode: string;
250
- copyCode: string;
251
- };
252
- cancel: string;
253
- close: string;
254
- loading: string;
255
- title: string;
256
- save: string;
257
- email: string;
258
- finished: string;
259
- audio: {
260
- play: string;
261
- pause: string;
262
- progressBar: string;
263
- valueText: string;
264
- controls: {
265
- forward15sec: string;
266
- rewind15sec: string;
267
- selectSpeed: string;
268
- adjustVolume: string;
269
- };
270
- textVersion: {
271
- heading: string;
272
- close: string;
273
- };
274
- readMoreDescriptionLabel: string;
275
- readLessDescriptionLabel: string;
276
- };
277
- source: string;
278
- related: {
279
- title: string;
280
- linkInfo: string;
281
- showMore: string;
282
- showLess: string;
283
- };
284
- download: string;
285
- factbox: {
286
- open: string;
287
- close: string;
288
- };
289
- embed: {
290
- linkError: string;
291
- unsupported: string;
292
- embedError: string;
293
- type: {
294
- image: string;
295
- video: string;
296
- audio: string;
297
- podcast: string;
298
- concept: string;
299
- h5p: string;
300
- external: string;
301
- gloss: string;
302
- copyright: string;
303
- code: string;
304
- disclaimer: string;
305
- };
306
- };
307
- uuDisclaimer: {
308
- title: string;
309
- };
310
- gloss: {
311
- examples: string;
312
- showExamples: string;
313
- wordClass: string;
314
- play: string;
315
- transcriptions: {
316
- traditional: string;
317
- pinyin: string;
318
- };
319
- };
320
- wordClass: {
321
- [x: string]: string;
322
- };
323
- login: string;
324
- component: {
325
- tagsInput: {
326
- clearTriggerLabel: string;
327
- deleteTagTriggerLabel: string;
328
- tagAdded: string;
329
- tagsPasted: string;
330
- tagEdited: string;
331
- tagUpdated: string;
332
- tagDeleted: string;
333
- tagSelected: string;
334
- };
335
- combobox: {
336
- triggerLabel: string;
337
- clearTriggerLabel: string;
338
- };
339
- pagination: {
340
- rootLabel: string;
341
- prevTriggerLabel: string;
342
- nextTriggerLabel: string;
343
- lastPage: string;
344
- page: string;
345
- };
346
- imageSearch: {
347
- searchPlaceholder: string;
348
- searchButtonTitle: string;
349
- imagePreview: {
350
- creatorsLabel: string;
351
- license: string;
352
- caption: string;
353
- altText: string;
354
- modelRelease: string;
355
- tags: string;
356
- checkboxLabel: string;
357
- close: string;
358
- useImageTitle: string;
359
- };
360
- };
361
- audioSearch: {
362
- searchPlaceholder: string;
363
- searchButtonTitle: string;
364
- useAudio: string;
365
- noResults: string;
366
- };
367
- videoSearch: {
368
- searchPlaceholder: string;
369
- searchButtonTitle: string;
370
- loadMoreVideos: string;
371
- noResults: string;
372
- addVideo: string;
373
- previewVideo: string;
374
- is360Video: string;
375
- close: string;
376
- };
377
- datePicker: {
378
- dayCell: {
379
- unavailable: string;
380
- selected: string;
381
- select: string;
382
- };
383
- nextTrigger: {
384
- day: string;
385
- month: string;
386
- year: string;
387
- };
388
- prevTrigger: {
389
- day: string;
390
- month: string;
391
- year: string;
392
- };
393
- monthSelect: string;
394
- yearSelect: string;
395
- viewTrigger: {
396
- day: string;
397
- month: string;
398
- year: string;
399
- };
400
- presetTrigger: {
401
- single: string;
402
- range: string;
403
- };
404
- clearTrigger: string;
405
- trigger: {
406
- open: string;
407
- close: string;
408
- };
409
- content: string;
410
- };
411
- };
412
- richTextEditor: {
413
- tooltip: {
414
- bold: string;
415
- code: string;
416
- sub: string;
417
- sup: string;
418
- underlined: string;
419
- italic: string;
420
- "numbered-list": string;
421
- "letter-list": string;
422
- "bulleted-list": string;
423
- heading: string;
424
- paragraph: string;
425
- section: string;
426
- link: string;
427
- };
428
- };
429
- articleTraits: {
430
- VIDEO: string;
431
- AUDIO: string;
432
- H5P: string;
433
- PODCAST: string;
434
- };
435
- relevance: {
436
- core: string;
437
- supplementary: string;
438
- };
439
- };
440
- export default messages;