@vonage/vivid 5.4.0 → 5.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.
Files changed (351) hide show
  1. package/LICENSE.md +201 -0
  2. package/accordion/definition.cjs +5 -0
  3. package/accordion/definition.js +5 -0
  4. package/accordion/index.cjs +1 -1
  5. package/accordion/index.js +14 -3
  6. package/alert/definition.cjs +4 -12
  7. package/alert/definition.js +5 -13
  8. package/alert/index.cjs +11 -11
  9. package/alert/index.js +33 -37
  10. package/audio-player/definition.cjs +4 -0
  11. package/audio-player/definition.js +4 -0
  12. package/audio-player/index.cjs +1 -1
  13. package/audio-player/index.js +8 -2
  14. package/banner/definition.cjs +2 -4
  15. package/banner/definition.js +2 -4
  16. package/banner/index.cjs +2 -2
  17. package/banner/index.js +1 -1
  18. package/breadcrumb/definition.cjs +1 -0
  19. package/breadcrumb/definition.js +1 -0
  20. package/breadcrumb/index.cjs +1 -1
  21. package/breadcrumb/index.js +1 -0
  22. package/bundled/affix.js +1 -1
  23. package/bundled/anchored.cjs +1 -1
  24. package/bundled/anchored.js +6 -6
  25. package/bundled/attribute-binding-behaviour.cjs +1 -1
  26. package/bundled/attribute-binding-behaviour.js +3 -1
  27. package/bundled/base-color-picker.cjs +18 -13
  28. package/bundled/base-color-picker.js +107 -84
  29. package/bundled/base-progress.cjs +1 -1
  30. package/bundled/base-progress.js +3 -0
  31. package/bundled/button.cjs +1 -1
  32. package/bundled/button.js +14 -10
  33. package/bundled/calendar-picker.template.cjs +1 -1
  34. package/bundled/calendar-picker.template.js +4 -2
  35. package/bundled/char-count.cjs +1 -1
  36. package/bundled/char-count.js +1 -1
  37. package/bundled/definition10.cjs +7 -7
  38. package/bundled/definition10.js +29 -19
  39. package/bundled/definition11.cjs +12 -19
  40. package/bundled/definition11.js +73 -204
  41. package/bundled/definition12.cjs +19 -10
  42. package/bundled/definition12.js +218 -36
  43. package/bundled/definition13.cjs +10 -1
  44. package/bundled/definition13.js +38 -14
  45. package/bundled/definition14.cjs +1 -5
  46. package/bundled/definition14.js +15 -24
  47. package/bundled/definition15.cjs +5 -30
  48. package/bundled/definition15.js +22 -73
  49. package/bundled/definition16.cjs +30 -19
  50. package/bundled/definition16.js +74 -97
  51. package/bundled/definition17.cjs +19 -13
  52. package/bundled/definition17.js +86 -117
  53. package/bundled/definition18.cjs +13 -12
  54. package/bundled/definition18.js +125 -71
  55. package/bundled/definition19.cjs +16 -16
  56. package/bundled/definition19.js +132 -94
  57. package/bundled/definition2.cjs +8 -9
  58. package/bundled/definition2.js +89 -142
  59. package/bundled/definition22.cjs +1 -1
  60. package/bundled/definition22.js +1 -0
  61. package/bundled/definition3.cjs +1 -1
  62. package/bundled/definition3.js +2 -1
  63. package/bundled/definition5.cjs +1 -1
  64. package/bundled/definition5.js +9 -3
  65. package/bundled/definition6.cjs +1 -1
  66. package/bundled/definition6.js +1 -0
  67. package/bundled/definition7.cjs +1 -1
  68. package/bundled/definition7.js +7 -4
  69. package/bundled/definition8.cjs +1 -1
  70. package/bundled/definition8.js +1 -0
  71. package/bundled/definition9.cjs +6 -6
  72. package/bundled/definition9.js +545 -488
  73. package/bundled/delegates-aria.cjs +1 -1
  74. package/bundled/delegates-aria.js +3 -1
  75. package/bundled/form-associated.cjs +1 -1
  76. package/bundled/form-associated.js +11 -3
  77. package/bundled/host-semantics.js +4 -4
  78. package/bundled/listbox.cjs +1 -1
  79. package/bundled/listbox.js +22 -4
  80. package/bundled/localized.cjs +1 -1
  81. package/bundled/localized.js +149 -66
  82. package/bundled/mixins.cjs +4 -4
  83. package/bundled/mixins.js +11 -8
  84. package/bundled/picker-field.template.cjs +14 -14
  85. package/bundled/picker-field.template.js +36 -56
  86. package/bundled/scrollIntoView.cjs +1 -1
  87. package/bundled/scrollIntoView.js +4 -1
  88. package/bundled/text-field.cjs +1 -1
  89. package/bundled/text-field.js +1 -1
  90. package/bundled/time-selection-picker.template.cjs +12 -12
  91. package/bundled/time-selection-picker.template.js +16 -12
  92. package/bundled/trapped-focus.cjs +1 -0
  93. package/bundled/trapped-focus.js +26 -0
  94. package/bundled/vivid-element.cjs +4 -4
  95. package/bundled/vivid-element.js +529 -492
  96. package/calendar/definition.cjs +2 -0
  97. package/calendar/definition.js +2 -0
  98. package/calendar/index.cjs +13 -13
  99. package/calendar/index.js +174 -144
  100. package/checkbox/definition.cjs +1 -0
  101. package/checkbox/definition.js +1 -0
  102. package/color-picker/definition.cjs +213 -112
  103. package/color-picker/definition.js +213 -112
  104. package/color-picker/index.cjs +104 -75
  105. package/color-picker/index.js +417 -326
  106. package/combobox/definition.cjs +17 -6
  107. package/combobox/definition.js +17 -6
  108. package/combobox/index.cjs +14 -9
  109. package/combobox/index.js +54 -42
  110. package/contextual-help/index.cjs +1 -1
  111. package/contextual-help/index.js +1 -1
  112. package/custom-elements.json +6976 -484
  113. package/data-grid/definition.cjs +105 -7
  114. package/data-grid/definition.js +105 -7
  115. package/data-grid/index.cjs +52 -38
  116. package/data-grid/index.js +313 -242
  117. package/date-picker/index.cjs +1 -1
  118. package/date-picker/index.js +2 -2
  119. package/date-range-picker/definition.cjs +2 -0
  120. package/date-range-picker/definition.js +2 -0
  121. package/date-range-picker/index.cjs +1 -1
  122. package/date-range-picker/index.js +7 -3
  123. package/date-time-picker/index.cjs +1 -1
  124. package/date-time-picker/index.js +2 -2
  125. package/dial-pad/definition.cjs +148 -0
  126. package/dial-pad/definition.js +148 -0
  127. package/dial-pad/index.cjs +27 -20
  128. package/dial-pad/index.js +202 -101
  129. package/dialog/definition.cjs +1 -0
  130. package/dialog/definition.js +1 -0
  131. package/dialog/index.cjs +1 -1
  132. package/dialog/index.js +1 -0
  133. package/divider/index.cjs +1 -1
  134. package/divider/index.js +1 -1
  135. package/fab/definition.cjs +1 -0
  136. package/fab/definition.js +1 -0
  137. package/fab/index.cjs +1 -1
  138. package/fab/index.js +1 -0
  139. package/file-picker/definition.cjs +7 -2
  140. package/file-picker/definition.js +7 -2
  141. package/file-picker/index.cjs +6 -6
  142. package/file-picker/index.js +82 -73
  143. package/icon/definition.cjs +66 -41
  144. package/icon/definition.js +67 -42
  145. package/index.cjs +21 -0
  146. package/index.js +1 -1
  147. package/lib/color-picker/color-picker.d.ts +390 -12
  148. package/lib/color-picker/locale.d.ts +4 -0
  149. package/lib/data-grid/locale.d.ts +5 -0
  150. package/lib/date-picker/date-picker.d.ts +38 -38
  151. package/lib/date-range-picker/date-range-picker.d.ts +20 -20
  152. package/lib/date-time-picker/date-time-picker.d.ts +40 -40
  153. package/lib/dial-pad/dial-pad.d.ts +1 -0
  154. package/lib/icon/icon.d.ts +1 -1
  155. package/lib/menu/menu.d.ts +4 -4
  156. package/lib/rich-text-editor/definition.d.ts +3 -2
  157. package/lib/rich-text-editor/locale.d.ts +29 -3
  158. package/lib/rich-text-editor/popover.d.ts +19 -0
  159. package/lib/rich-text-editor/rich-text-editor.d.ts +16 -45
  160. package/lib/rich-text-editor/rich-text-editor.template.d.ts +2 -2
  161. package/lib/rich-text-editor/rte/config.d.ts +18 -0
  162. package/lib/rich-text-editor/rte/document.d.ts +28 -0
  163. package/lib/rich-text-editor/rte/exports.d.ts +23 -0
  164. package/lib/rich-text-editor/rte/feature.d.ts +46 -0
  165. package/lib/rich-text-editor/rte/features/internal/basic-text-blocks.d.ts +33 -0
  166. package/lib/rich-text-editor/rte/features/internal/foreign-html.d.ts +11 -0
  167. package/lib/rich-text-editor/rte/features/internal/history.d.ts +10 -0
  168. package/lib/rich-text-editor/rte/features/internal/text-style.d.ts +18 -0
  169. package/lib/rich-text-editor/rte/html-parser.d.ts +24 -0
  170. package/lib/rich-text-editor/rte/html-serializer.d.ts +30 -0
  171. package/lib/rich-text-editor/rte/instance.d.ts +57 -0
  172. package/lib/rich-text-editor/rte/utils/default-textblock.d.ts +2 -0
  173. package/lib/rich-text-editor/rte/utils/impl.d.ts +1 -0
  174. package/lib/rich-text-editor/rte/utils/textblock-attrs.d.ts +29 -0
  175. package/lib/rich-text-editor/rte/utils/textblock-marks.d.ts +10 -0
  176. package/lib/rich-text-editor/rte/utils/ui.d.ts +109 -0
  177. package/lib/simple-color-picker/simple-color-picker.d.ts +6 -5
  178. package/lib/text-area/text-area.d.ts +1 -1
  179. package/lib/text-field/text-field.d.ts +1 -1
  180. package/lib/time-picker/time-picker.d.ts +20 -20
  181. package/lib/toggletip/toggletip.d.ts +4 -4
  182. package/lib/tooltip/tooltip.d.ts +4 -4
  183. package/locales/de-DE.cjs +58 -7
  184. package/locales/de-DE.js +58 -7
  185. package/locales/en-GB.cjs +60 -9
  186. package/locales/en-GB.js +60 -9
  187. package/locales/en-US.cjs +60 -9
  188. package/locales/en-US.js +60 -9
  189. package/locales/ja-JP.cjs +59 -8
  190. package/locales/ja-JP.js +59 -8
  191. package/locales/zh-CN.cjs +58 -7
  192. package/locales/zh-CN.js +58 -7
  193. package/menu/definition.cjs +1 -0
  194. package/menu/definition.js +1 -0
  195. package/number-field/definition.cjs +5 -3
  196. package/number-field/definition.js +5 -3
  197. package/number-field/index.cjs +5 -3
  198. package/number-field/index.js +34 -32
  199. package/option/index.cjs +1 -1
  200. package/option/index.js +1 -1
  201. package/package.json +76 -62
  202. package/pagination/definition.cjs +2 -0
  203. package/pagination/definition.js +2 -0
  204. package/pagination/index.cjs +1 -1
  205. package/pagination/index.js +2 -0
  206. package/progress-ring/index.cjs +1 -1
  207. package/progress-ring/index.js +1 -1
  208. package/radio/definition.cjs +4 -0
  209. package/radio/definition.js +4 -0
  210. package/radio/index.cjs +1 -1
  211. package/radio/index.js +1 -1
  212. package/radio-group/index.cjs +1 -1
  213. package/radio-group/index.js +1 -1
  214. package/range-slider/definition.cjs +2 -1
  215. package/range-slider/definition.js +2 -1
  216. package/range-slider/index.cjs +1 -1
  217. package/range-slider/index.js +3 -1
  218. package/rich-text-editor/definition.cjs +17942 -1074
  219. package/rich-text-editor/definition.js +17926 -1079
  220. package/rich-text-editor/index.cjs +29 -130
  221. package/rich-text-editor/index.js +5565 -2474
  222. package/searchable-select/definition.cjs +6 -2
  223. package/searchable-select/definition.js +6 -2
  224. package/searchable-select/index.cjs +1 -1
  225. package/searchable-select/index.js +14 -10
  226. package/select/definition.cjs +22 -4
  227. package/select/definition.js +22 -4
  228. package/selectable-box/index.cjs +1 -1
  229. package/selectable-box/index.js +1 -1
  230. package/shared/color-picker/base-color-picker.d.ts +2 -1
  231. package/shared/patterns/anchored.d.ts +8 -8
  232. package/shared/patterns/char-count/char-count.d.ts +1 -1
  233. package/shared/patterns/localized.d.ts +386 -0
  234. package/shared/picker-field/mixins/calendar-picker.d.ts +10 -10
  235. package/shared/picker-field/mixins/calendar-picker.template.d.ts +10 -10
  236. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +20 -20
  237. package/shared/picker-field/mixins/single-date-picker.d.ts +28 -28
  238. package/shared/picker-field/mixins/single-value-picker.d.ts +8 -8
  239. package/shared/picker-field/mixins/time-selection-picker.d.ts +20 -20
  240. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +20 -20
  241. package/shared/utils/promise.d.ts +7 -0
  242. package/simple-color-picker/definition.cjs +11 -6
  243. package/simple-color-picker/definition.js +11 -6
  244. package/simple-color-picker/index.cjs +6 -6
  245. package/simple-color-picker/index.js +44 -39
  246. package/slider/definition.cjs +7 -1
  247. package/slider/definition.js +7 -1
  248. package/styles/core/all.css +5 -1
  249. package/styles/core/theme.css +5 -1
  250. package/styles/core/typography.css +1 -1
  251. package/styles/tokens/theme-dark.css +4 -4
  252. package/styles/tokens/theme-light.css +4 -4
  253. package/styles/tokens/vivid-2-compat.css +1 -1
  254. package/switch/definition.cjs +1 -0
  255. package/switch/definition.js +1 -0
  256. package/switch/index.cjs +1 -1
  257. package/switch/index.js +1 -0
  258. package/tabs/definition.cjs +2 -0
  259. package/tabs/definition.js +2 -0
  260. package/tabs/index.cjs +1 -1
  261. package/tabs/index.js +2 -0
  262. package/tag/definition.cjs +34 -14
  263. package/tag/definition.js +34 -14
  264. package/tag/index.cjs +25 -12
  265. package/tag/index.js +64 -47
  266. package/tag-group/definition.cjs +1 -2
  267. package/tag-group/definition.js +1 -2
  268. package/tag-group/index.cjs +1 -1
  269. package/tag-group/index.js +11 -12
  270. package/text-area/definition.cjs +13 -7
  271. package/text-area/definition.js +13 -7
  272. package/text-area/index.cjs +6 -6
  273. package/text-area/index.js +20 -14
  274. package/text-field/definition.cjs +16 -6
  275. package/text-field/definition.js +16 -6
  276. package/time-picker/index.cjs +1 -1
  277. package/time-picker/index.js +1 -1
  278. package/toggletip/definition.cjs +5 -1
  279. package/toggletip/definition.js +5 -1
  280. package/toggletip/index.cjs +1 -1
  281. package/toggletip/index.js +1 -1
  282. package/tooltip/definition.cjs +6 -3
  283. package/tooltip/definition.js +6 -3
  284. package/tooltip/index.cjs +1 -1
  285. package/tooltip/index.js +1 -1
  286. package/tree-view/definition.cjs +28 -6
  287. package/tree-view/definition.js +28 -6
  288. package/tree-view/index.cjs +1 -1
  289. package/tree-view/index.js +28 -6
  290. package/unbundled/_commonjsHelpers.cjs +0 -26
  291. package/unbundled/_commonjsHelpers.js +1 -26
  292. package/unbundled/attribute-binding-behaviour.cjs +1 -0
  293. package/unbundled/attribute-binding-behaviour.js +1 -0
  294. package/unbundled/base-color-picker.cjs +45 -21
  295. package/unbundled/base-color-picker.js +45 -21
  296. package/unbundled/base-progress.cjs +3 -0
  297. package/unbundled/base-progress.js +3 -0
  298. package/unbundled/button.cjs +14 -10
  299. package/unbundled/button.js +14 -10
  300. package/unbundled/calendar-picker.template.cjs +3 -1
  301. package/unbundled/calendar-picker.template.js +3 -1
  302. package/unbundled/definition.cjs +1 -0
  303. package/unbundled/definition.js +1 -0
  304. package/unbundled/definition2.cjs +4 -1
  305. package/unbundled/definition2.js +4 -1
  306. package/unbundled/definition3.cjs +1 -0
  307. package/unbundled/definition3.js +1 -0
  308. package/unbundled/definition4.cjs +1 -0
  309. package/unbundled/definition4.js +1 -0
  310. package/unbundled/definition5.cjs +3 -2
  311. package/unbundled/definition5.js +4 -3
  312. package/unbundled/delegates-aria.cjs +1 -0
  313. package/unbundled/delegates-aria.js +1 -0
  314. package/unbundled/form-associated.cjs +4 -0
  315. package/unbundled/form-associated.js +4 -0
  316. package/unbundled/listbox.cjs +16 -1
  317. package/unbundled/listbox.js +16 -1
  318. package/unbundled/localized.cjs +36 -0
  319. package/unbundled/localized.js +37 -2
  320. package/unbundled/mixins.cjs +2 -0
  321. package/unbundled/mixins.js +2 -0
  322. package/unbundled/picker-field.template.cjs +3 -35
  323. package/unbundled/picker-field.template.js +3 -34
  324. package/unbundled/scrollIntoView.cjs +1 -0
  325. package/unbundled/scrollIntoView.js +1 -0
  326. package/unbundled/text-field.cjs +1 -1
  327. package/unbundled/text-field.js +1 -1
  328. package/unbundled/time-selection-picker.template.cjs +5 -1
  329. package/unbundled/time-selection-picker.template.js +5 -1
  330. package/unbundled/trapped-focus.cjs +37 -0
  331. package/unbundled/trapped-focus.js +34 -0
  332. package/unbundled/vivid-element.cjs +1 -1
  333. package/unbundled/vivid-element.js +1 -1
  334. package/video-player/definition.cjs +54 -44
  335. package/video-player/definition.js +50 -40
  336. package/video-player/index.cjs +28 -28
  337. package/video-player/index.js +1448 -1442
  338. package/visually-hidden/index.cjs +1 -1
  339. package/visually-hidden/index.js +1 -1
  340. package/vivid.api.json +6463 -6099
  341. package/bundled/_has.cjs +0 -1
  342. package/bundled/_has.js +0 -34
  343. package/lib/rich-text-editor/facades/prose-mirror-vivid.schema.d.ts +0 -4
  344. package/lib/rich-text-editor/facades/vivid-prose-mirror.facade.d.ts +0 -18
  345. package/lib/rich-text-editor/image-placeholder/definition.d.ts +0 -2
  346. package/lib/rich-text-editor/image-placeholder/image-placeholder.d.ts +0 -7
  347. package/lib/rich-text-editor/image-placeholder/image-placeholder.template.d.ts +0 -4
  348. package/lib/rich-text-editor/menubar/consts.d.ts +0 -18
  349. package/lib/rich-text-editor/menubar/definition.d.ts +0 -2
  350. package/lib/rich-text-editor/menubar/menubar.d.ts +0 -386
  351. package/lib/rich-text-editor/menubar/menubar.template.d.ts +0 -4
package/locales/en-GB.cjs CHANGED
@@ -238,14 +238,40 @@ const enGB = {
238
238
  )
239
239
  },
240
240
  richTextEditor: {
241
- textBlockType: "Text Block Type",
242
- textSize: "Text Size",
241
+ paragraphStyles: "Paragraph styles",
242
+ textSize: "Text size",
243
243
  bold: "Bold",
244
- italics: "Italics",
244
+ italic: "Italic",
245
245
  underline: "Underline",
246
246
  strikethrough: "Strikethrough",
247
247
  monospace: "Monospace",
248
- dragAndDropFilesHere: "Drag&Drop files here"
248
+ textColor: "Text colour",
249
+ undo: "Undo",
250
+ redo: "Redo",
251
+ bulletList: "Bullet list",
252
+ numberedList: "Numbered list",
253
+ alignment: "Alignment",
254
+ alignments: {
255
+ left: "Left",
256
+ center: "Centre",
257
+ right: "Right"
258
+ },
259
+ hyperlink: "Hyperlink",
260
+ linkText: "Text",
261
+ linkUrl: "URL",
262
+ linkTextPlaceholder: "Type text to convert into link",
263
+ linkUrlPlaceholder: "Insert link URL",
264
+ cancel: "Cancel",
265
+ apply: "Apply",
266
+ close: "Close",
267
+ edit: "Edit",
268
+ delete: "Delete",
269
+ clickHere: "Click here",
270
+ imageSizes: {
271
+ small: "Small",
272
+ fit: "Fit",
273
+ original: "Original size"
274
+ }
249
275
  },
250
276
  button: {
251
277
  pendingLabel: "Loading..."
@@ -276,7 +302,19 @@ const enGB = {
276
302
  dataGrid: {
277
303
  cell: {
278
304
  selected: "Selected",
279
- button: "(button)"
305
+ button: "(button)",
306
+ sortStatus: {
307
+ ascending: "Sorted ascending.",
308
+ descending: "Sorted descending.",
309
+ none: "Not sorted.",
310
+ other: "Custom sort applied."
311
+ },
312
+ sortInstruction: {
313
+ ascending: "Click to sort descending.",
314
+ descending: "Click to un-sort.",
315
+ none: "Click to sort ascending.",
316
+ other: "Click to reset sorting."
317
+ }
280
318
  }
281
319
  },
282
320
  pagination: {
@@ -314,12 +352,25 @@ const enGB = {
314
352
  },
315
353
  colorPicker: {
316
354
  popupLabel: "Colour Picker",
317
- swatchesLabel: "Saved colours:",
318
- pickerButtonLabel: "Open Colour Picker",
355
+ swatchesLabel: "Saved colours",
356
+ pickerButtonLabel: "Colour Picker",
357
+ hexInputLabel: "HEX color code",
319
358
  saveButtonLabel: "Save current colour",
320
359
  closeButtonLabel: "Close Colour Picker",
321
- copyButtonLabel: "Copy Colour to Clipboard",
322
- copyErrorText: "Copy failed. Clipboard access was blocked. Try again."
360
+ copyButtonLabel: "Copy colour to clipboard",
361
+ copyErrorText: "Copy failed. Clipboard access was blocked. Try again.",
362
+ copySuccessMessage: (
363
+ /* istanbul ignore next */
364
+ (value) => `Colour ${value} copied to clipboard.`
365
+ ),
366
+ selectionSuccessMessage: (
367
+ /* istanbul ignore next */
368
+ (value) => `Colour ${value} selected.`
369
+ ),
370
+ maxSwatchesMessage: (
371
+ /* istanbul ignore next */
372
+ (total, limit) => `${total} of ${limit} colours saved.`
373
+ )
323
374
  }
324
375
  };
325
376
 
package/locales/en-GB.js CHANGED
@@ -236,14 +236,40 @@ const enGB = {
236
236
  )
237
237
  },
238
238
  richTextEditor: {
239
- textBlockType: "Text Block Type",
240
- textSize: "Text Size",
239
+ paragraphStyles: "Paragraph styles",
240
+ textSize: "Text size",
241
241
  bold: "Bold",
242
- italics: "Italics",
242
+ italic: "Italic",
243
243
  underline: "Underline",
244
244
  strikethrough: "Strikethrough",
245
245
  monospace: "Monospace",
246
- dragAndDropFilesHere: "Drag&Drop files here"
246
+ textColor: "Text colour",
247
+ undo: "Undo",
248
+ redo: "Redo",
249
+ bulletList: "Bullet list",
250
+ numberedList: "Numbered list",
251
+ alignment: "Alignment",
252
+ alignments: {
253
+ left: "Left",
254
+ center: "Centre",
255
+ right: "Right"
256
+ },
257
+ hyperlink: "Hyperlink",
258
+ linkText: "Text",
259
+ linkUrl: "URL",
260
+ linkTextPlaceholder: "Type text to convert into link",
261
+ linkUrlPlaceholder: "Insert link URL",
262
+ cancel: "Cancel",
263
+ apply: "Apply",
264
+ close: "Close",
265
+ edit: "Edit",
266
+ delete: "Delete",
267
+ clickHere: "Click here",
268
+ imageSizes: {
269
+ small: "Small",
270
+ fit: "Fit",
271
+ original: "Original size"
272
+ }
247
273
  },
248
274
  button: {
249
275
  pendingLabel: "Loading..."
@@ -274,7 +300,19 @@ const enGB = {
274
300
  dataGrid: {
275
301
  cell: {
276
302
  selected: "Selected",
277
- button: "(button)"
303
+ button: "(button)",
304
+ sortStatus: {
305
+ ascending: "Sorted ascending.",
306
+ descending: "Sorted descending.",
307
+ none: "Not sorted.",
308
+ other: "Custom sort applied."
309
+ },
310
+ sortInstruction: {
311
+ ascending: "Click to sort descending.",
312
+ descending: "Click to un-sort.",
313
+ none: "Click to sort ascending.",
314
+ other: "Click to reset sorting."
315
+ }
278
316
  }
279
317
  },
280
318
  pagination: {
@@ -312,12 +350,25 @@ const enGB = {
312
350
  },
313
351
  colorPicker: {
314
352
  popupLabel: "Colour Picker",
315
- swatchesLabel: "Saved colours:",
316
- pickerButtonLabel: "Open Colour Picker",
353
+ swatchesLabel: "Saved colours",
354
+ pickerButtonLabel: "Colour Picker",
355
+ hexInputLabel: "HEX color code",
317
356
  saveButtonLabel: "Save current colour",
318
357
  closeButtonLabel: "Close Colour Picker",
319
- copyButtonLabel: "Copy Colour to Clipboard",
320
- copyErrorText: "Copy failed. Clipboard access was blocked. Try again."
358
+ copyButtonLabel: "Copy colour to clipboard",
359
+ copyErrorText: "Copy failed. Clipboard access was blocked. Try again.",
360
+ copySuccessMessage: (
361
+ /* istanbul ignore next */
362
+ (value) => `Colour ${value} copied to clipboard.`
363
+ ),
364
+ selectionSuccessMessage: (
365
+ /* istanbul ignore next */
366
+ (value) => `Colour ${value} selected.`
367
+ ),
368
+ maxSwatchesMessage: (
369
+ /* istanbul ignore next */
370
+ (total, limit) => `${total} of ${limit} colours saved.`
371
+ )
321
372
  }
322
373
  };
323
374
 
package/locales/en-US.cjs CHANGED
@@ -406,14 +406,40 @@ const enUS = {
406
406
  )
407
407
  },
408
408
  richTextEditor: {
409
- textBlockType: "Text Block Type",
410
- textSize: "Text Size",
409
+ paragraphStyles: "Paragraph styles",
410
+ textSize: "Text size",
411
411
  bold: "Bold",
412
- italics: "Italics",
412
+ italic: "Italic",
413
413
  underline: "Underline",
414
414
  strikethrough: "Strikethrough",
415
415
  monospace: "Monospace",
416
- dragAndDropFilesHere: "Drag&Drop files here"
416
+ textColor: "Text color",
417
+ undo: "Undo",
418
+ redo: "Redo",
419
+ bulletList: "Bullet list",
420
+ numberedList: "Numbered list",
421
+ alignment: "Alignment",
422
+ alignments: {
423
+ left: "Left",
424
+ center: "Center",
425
+ right: "Right"
426
+ },
427
+ hyperlink: "Hyperlink",
428
+ linkText: "Text",
429
+ linkUrl: "URL",
430
+ linkTextPlaceholder: "Type text to convert into link",
431
+ linkUrlPlaceholder: "Insert link URL",
432
+ cancel: "Cancel",
433
+ apply: "Apply",
434
+ close: "Close",
435
+ edit: "Edit",
436
+ delete: "Delete",
437
+ clickHere: "Click here",
438
+ imageSizes: {
439
+ small: "Small",
440
+ fit: "Fit",
441
+ original: "Original size"
442
+ }
417
443
  },
418
444
  button: {
419
445
  pendingLabel: "Loading..."
@@ -444,7 +470,19 @@ const enUS = {
444
470
  dataGrid: {
445
471
  cell: {
446
472
  selected: "Selected",
447
- button: "(button)"
473
+ button: "(button)",
474
+ sortStatus: {
475
+ ascending: "Sorted ascending.",
476
+ descending: "Sorted descending.",
477
+ none: "Not sorted.",
478
+ other: "Custom sort applied."
479
+ },
480
+ sortInstruction: {
481
+ ascending: "Click to sort descending.",
482
+ descending: "Click to un-sort.",
483
+ none: "Click to sort ascending.",
484
+ other: "Click to reset sorting."
485
+ }
448
486
  }
449
487
  },
450
488
  pagination: {
@@ -482,12 +520,25 @@ const enUS = {
482
520
  },
483
521
  colorPicker: {
484
522
  popupLabel: "Color Picker",
485
- swatchesLabel: "Saved colors:",
486
- pickerButtonLabel: "Open Color Picker",
523
+ swatchesLabel: "Saved colors",
524
+ pickerButtonLabel: "Color Picker",
525
+ hexInputLabel: "HEX color code",
487
526
  saveButtonLabel: "Save current color",
488
527
  closeButtonLabel: "Close Color Picker",
489
- copyButtonLabel: "Copy Color to Clipboard",
490
- copyErrorText: "Copy failed. Clipboard access was blocked. Try again."
528
+ copyButtonLabel: "Copy color to clipboard",
529
+ copyErrorText: "Copy failed. Clipboard access was blocked. Try again.",
530
+ copySuccessMessage: (
531
+ /* istanbul ignore next */
532
+ (value) => `Color ${value} copied to clipboard.`
533
+ ),
534
+ selectionSuccessMessage: (
535
+ /* istanbul ignore next */
536
+ (value) => `Color ${value} selected.`
537
+ ),
538
+ maxSwatchesMessage: (
539
+ /* istanbul ignore next */
540
+ (total, limit) => `${total} of ${limit} colors saved.`
541
+ )
491
542
  }
492
543
  };
493
544
 
package/locales/en-US.js CHANGED
@@ -404,14 +404,40 @@ const enUS = {
404
404
  )
405
405
  },
406
406
  richTextEditor: {
407
- textBlockType: "Text Block Type",
408
- textSize: "Text Size",
407
+ paragraphStyles: "Paragraph styles",
408
+ textSize: "Text size",
409
409
  bold: "Bold",
410
- italics: "Italics",
410
+ italic: "Italic",
411
411
  underline: "Underline",
412
412
  strikethrough: "Strikethrough",
413
413
  monospace: "Monospace",
414
- dragAndDropFilesHere: "Drag&Drop files here"
414
+ textColor: "Text color",
415
+ undo: "Undo",
416
+ redo: "Redo",
417
+ bulletList: "Bullet list",
418
+ numberedList: "Numbered list",
419
+ alignment: "Alignment",
420
+ alignments: {
421
+ left: "Left",
422
+ center: "Center",
423
+ right: "Right"
424
+ },
425
+ hyperlink: "Hyperlink",
426
+ linkText: "Text",
427
+ linkUrl: "URL",
428
+ linkTextPlaceholder: "Type text to convert into link",
429
+ linkUrlPlaceholder: "Insert link URL",
430
+ cancel: "Cancel",
431
+ apply: "Apply",
432
+ close: "Close",
433
+ edit: "Edit",
434
+ delete: "Delete",
435
+ clickHere: "Click here",
436
+ imageSizes: {
437
+ small: "Small",
438
+ fit: "Fit",
439
+ original: "Original size"
440
+ }
415
441
  },
416
442
  button: {
417
443
  pendingLabel: "Loading..."
@@ -442,7 +468,19 @@ const enUS = {
442
468
  dataGrid: {
443
469
  cell: {
444
470
  selected: "Selected",
445
- button: "(button)"
471
+ button: "(button)",
472
+ sortStatus: {
473
+ ascending: "Sorted ascending.",
474
+ descending: "Sorted descending.",
475
+ none: "Not sorted.",
476
+ other: "Custom sort applied."
477
+ },
478
+ sortInstruction: {
479
+ ascending: "Click to sort descending.",
480
+ descending: "Click to un-sort.",
481
+ none: "Click to sort ascending.",
482
+ other: "Click to reset sorting."
483
+ }
446
484
  }
447
485
  },
448
486
  pagination: {
@@ -480,12 +518,25 @@ const enUS = {
480
518
  },
481
519
  colorPicker: {
482
520
  popupLabel: "Color Picker",
483
- swatchesLabel: "Saved colors:",
484
- pickerButtonLabel: "Open Color Picker",
521
+ swatchesLabel: "Saved colors",
522
+ pickerButtonLabel: "Color Picker",
523
+ hexInputLabel: "HEX color code",
485
524
  saveButtonLabel: "Save current color",
486
525
  closeButtonLabel: "Close Color Picker",
487
- copyButtonLabel: "Copy Color to Clipboard",
488
- copyErrorText: "Copy failed. Clipboard access was blocked. Try again."
526
+ copyButtonLabel: "Copy color to clipboard",
527
+ copyErrorText: "Copy failed. Clipboard access was blocked. Try again.",
528
+ copySuccessMessage: (
529
+ /* istanbul ignore next */
530
+ (value) => `Color ${value} copied to clipboard.`
531
+ ),
532
+ selectionSuccessMessage: (
533
+ /* istanbul ignore next */
534
+ (value) => `Color ${value} selected.`
535
+ ),
536
+ maxSwatchesMessage: (
537
+ /* istanbul ignore next */
538
+ (total, limit) => `${total} of ${limit} colors saved.`
539
+ )
489
540
  }
490
541
  };
491
542
 
package/locales/ja-JP.cjs CHANGED
@@ -405,14 +405,40 @@ const jaJP = {
405
405
  )
406
406
  },
407
407
  richTextEditor: {
408
- textBlockType: "テキストブロックタイプ",
408
+ paragraphStyles: "段落スタイル",
409
409
  textSize: "文字サイズ",
410
410
  bold: "太字",
411
- italics: "斜体",
411
+ italic: "斜体",
412
412
  underline: "下線",
413
413
  strikethrough: "取り消し線",
414
- monospace: "等幅",
415
- dragAndDropFilesHere: "ここにファイルをドラッグ&ドロップ"
414
+ monospace: "等幅フォント",
415
+ textColor: "文字色",
416
+ undo: "元に戻す",
417
+ redo: "やり直し",
418
+ bulletList: "箇条書き",
419
+ numberedList: "番号付きリスト",
420
+ alignment: "配置",
421
+ alignments: {
422
+ left: "左揃え",
423
+ center: "中央揃え",
424
+ right: "右揃え"
425
+ },
426
+ hyperlink: "ハイパーリンク",
427
+ linkText: "テキスト",
428
+ linkUrl: "URL",
429
+ linkTextPlaceholder: "リンクに変換するテキストを入力",
430
+ linkUrlPlaceholder: "リンクURLを挿入",
431
+ cancel: "キャンセル",
432
+ apply: "適用",
433
+ close: "閉じる",
434
+ edit: "編集",
435
+ delete: "削除",
436
+ clickHere: "ここをクリック",
437
+ imageSizes: {
438
+ small: "小",
439
+ fit: "フィット",
440
+ original: "元のサイズ"
441
+ }
416
442
  },
417
443
  button: {
418
444
  pendingLabel: "読み込み中"
@@ -443,7 +469,19 @@ const jaJP = {
443
469
  dataGrid: {
444
470
  cell: {
445
471
  selected: "選択済み",
446
- button: "(ボタン)"
472
+ button: "(ボタン)",
473
+ sortStatus: {
474
+ ascending: "昇順で並べ替えています。",
475
+ descending: "降順で並べ替えています。",
476
+ none: "並べ替えは適用されていません。",
477
+ other: "カスタムの並べ替えが適用されています。"
478
+ },
479
+ sortInstruction: {
480
+ ascending: "クリックすると降順で並べ替えます。",
481
+ descending: "クリックすると並べ替えを解除します。",
482
+ none: "クリックすると昇順で並べ替えます。",
483
+ other: "クリックすると並べ替えをリセットします。"
484
+ }
447
485
  }
448
486
  },
449
487
  pagination: {
@@ -481,12 +519,25 @@ const jaJP = {
481
519
  },
482
520
  colorPicker: {
483
521
  popupLabel: "カラーピッカー",
484
- swatchesLabel: "保存された色:",
485
- pickerButtonLabel: "カラーピッカーを開く",
522
+ swatchesLabel: "保存された色",
523
+ pickerButtonLabel: "カラーピッカー",
524
+ hexInputLabel: "HEXカラーコード",
486
525
  saveButtonLabel: "現在の色を保存",
487
526
  closeButtonLabel: "カラーピッカーを閉じる",
488
527
  copyButtonLabel: "色をクリップボードにコピー",
489
- copyErrorText: "コピーに失敗しました。クリップボードへのアクセスがブロックされました。もう一度お試しください。"
528
+ copyErrorText: "コピーに失敗しました。クリップボードへのアクセスがブロックされました。もう一度お試しください。",
529
+ copySuccessMessage: (
530
+ /* istanbul ignore next */
531
+ (value) => `カラー ${value} がクリップボードにコピーされました。`
532
+ ),
533
+ selectionSuccessMessage: (
534
+ /* istanbul ignore next */
535
+ (value) => `色 ${value} が選択されました。`
536
+ ),
537
+ maxSwatchesMessage: (
538
+ /* istanbul ignore next */
539
+ (total, limit) => `${limit} 色中 ${total} 色を保存しました。`
540
+ )
490
541
  }
491
542
  };
492
543
 
package/locales/ja-JP.js CHANGED
@@ -403,14 +403,40 @@ const jaJP = {
403
403
  )
404
404
  },
405
405
  richTextEditor: {
406
- textBlockType: "テキストブロックタイプ",
406
+ paragraphStyles: "段落スタイル",
407
407
  textSize: "文字サイズ",
408
408
  bold: "太字",
409
- italics: "斜体",
409
+ italic: "斜体",
410
410
  underline: "下線",
411
411
  strikethrough: "取り消し線",
412
- monospace: "等幅",
413
- dragAndDropFilesHere: "ここにファイルをドラッグ&ドロップ"
412
+ monospace: "等幅フォント",
413
+ textColor: "文字色",
414
+ undo: "元に戻す",
415
+ redo: "やり直し",
416
+ bulletList: "箇条書き",
417
+ numberedList: "番号付きリスト",
418
+ alignment: "配置",
419
+ alignments: {
420
+ left: "左揃え",
421
+ center: "中央揃え",
422
+ right: "右揃え"
423
+ },
424
+ hyperlink: "ハイパーリンク",
425
+ linkText: "テキスト",
426
+ linkUrl: "URL",
427
+ linkTextPlaceholder: "リンクに変換するテキストを入力",
428
+ linkUrlPlaceholder: "リンクURLを挿入",
429
+ cancel: "キャンセル",
430
+ apply: "適用",
431
+ close: "閉じる",
432
+ edit: "編集",
433
+ delete: "削除",
434
+ clickHere: "ここをクリック",
435
+ imageSizes: {
436
+ small: "小",
437
+ fit: "フィット",
438
+ original: "元のサイズ"
439
+ }
414
440
  },
415
441
  button: {
416
442
  pendingLabel: "読み込み中"
@@ -441,7 +467,19 @@ const jaJP = {
441
467
  dataGrid: {
442
468
  cell: {
443
469
  selected: "選択済み",
444
- button: "(ボタン)"
470
+ button: "(ボタン)",
471
+ sortStatus: {
472
+ ascending: "昇順で並べ替えています。",
473
+ descending: "降順で並べ替えています。",
474
+ none: "並べ替えは適用されていません。",
475
+ other: "カスタムの並べ替えが適用されています。"
476
+ },
477
+ sortInstruction: {
478
+ ascending: "クリックすると降順で並べ替えます。",
479
+ descending: "クリックすると並べ替えを解除します。",
480
+ none: "クリックすると昇順で並べ替えます。",
481
+ other: "クリックすると並べ替えをリセットします。"
482
+ }
445
483
  }
446
484
  },
447
485
  pagination: {
@@ -479,12 +517,25 @@ const jaJP = {
479
517
  },
480
518
  colorPicker: {
481
519
  popupLabel: "カラーピッカー",
482
- swatchesLabel: "保存された色:",
483
- pickerButtonLabel: "カラーピッカーを開く",
520
+ swatchesLabel: "保存された色",
521
+ pickerButtonLabel: "カラーピッカー",
522
+ hexInputLabel: "HEXカラーコード",
484
523
  saveButtonLabel: "現在の色を保存",
485
524
  closeButtonLabel: "カラーピッカーを閉じる",
486
525
  copyButtonLabel: "色をクリップボードにコピー",
487
- copyErrorText: "コピーに失敗しました。クリップボードへのアクセスがブロックされました。もう一度お試しください。"
526
+ copyErrorText: "コピーに失敗しました。クリップボードへのアクセスがブロックされました。もう一度お試しください。",
527
+ copySuccessMessage: (
528
+ /* istanbul ignore next */
529
+ (value) => `カラー ${value} がクリップボードにコピーされました。`
530
+ ),
531
+ selectionSuccessMessage: (
532
+ /* istanbul ignore next */
533
+ (value) => `色 ${value} が選択されました。`
534
+ ),
535
+ maxSwatchesMessage: (
536
+ /* istanbul ignore next */
537
+ (total, limit) => `${limit} 色中 ${total} 色を保存しました。`
538
+ )
488
539
  }
489
540
  };
490
541
 
package/locales/zh-CN.cjs CHANGED
@@ -407,14 +407,40 @@ const zhCN = {
407
407
  )
408
408
  },
409
409
  richTextEditor: {
410
- textBlockType: "文本块类型",
410
+ paragraphStyles: "段落样式",
411
411
  textSize: "文字大小",
412
- bold: "加粗",
413
- italics: "斜体",
412
+ bold: "粗体",
413
+ italic: "斜体",
414
414
  underline: "下划线",
415
415
  strikethrough: "删除线",
416
416
  monospace: "等宽字体",
417
- dragAndDropFilesHere: "将文件拖放到此处"
417
+ textColor: "文字颜色",
418
+ undo: "撤销",
419
+ redo: "重做",
420
+ bulletList: "项目符号列表",
421
+ numberedList: "编号列表",
422
+ alignment: "对齐",
423
+ alignments: {
424
+ left: "左对齐",
425
+ center: "居中",
426
+ right: "右对齐"
427
+ },
428
+ hyperlink: "超链接",
429
+ linkText: "文本",
430
+ linkUrl: "URL",
431
+ linkTextPlaceholder: "输入要转换为链接的文本",
432
+ linkUrlPlaceholder: "插入链接URL",
433
+ cancel: "取消",
434
+ apply: "应用",
435
+ close: "关闭",
436
+ edit: "编辑",
437
+ delete: "删除",
438
+ clickHere: "点击这里",
439
+ imageSizes: {
440
+ small: "小",
441
+ fit: "适应",
442
+ original: "原始大小"
443
+ }
418
444
  },
419
445
  button: {
420
446
  pendingLabel: "加载中"
@@ -445,7 +471,19 @@ const zhCN = {
445
471
  dataGrid: {
446
472
  cell: {
447
473
  selected: "已选择",
448
- button: "(按钮)"
474
+ button: "(按钮)",
475
+ sortStatus: {
476
+ ascending: "已按升序排序。",
477
+ descending: "已按降序排序。",
478
+ none: "未排序。",
479
+ other: "已应用自定义排序。"
480
+ },
481
+ sortInstruction: {
482
+ ascending: "单击以按降序排序。",
483
+ descending: "单击以取消排序。",
484
+ none: "单击以按升序排序。",
485
+ other: "单击以重置排序。"
486
+ }
449
487
  }
450
488
  },
451
489
  pagination: {
@@ -484,11 +522,24 @@ const zhCN = {
484
522
  colorPicker: {
485
523
  popupLabel: "颜色选择器",
486
524
  swatchesLabel: "已保存的颜色",
487
- pickerButtonLabel: "打开颜色选择器",
525
+ pickerButtonLabel: "颜色选择器",
526
+ hexInputLabel: "十六进制颜色代码",
488
527
  saveButtonLabel: "保存当前颜色",
489
528
  closeButtonLabel: "关闭颜色选择器",
490
529
  copyButtonLabel: "将颜色复制到剪贴板",
491
- copyErrorText: "复制失败。剪贴板访问已被阻止。请重试。"
530
+ copyErrorText: "复制失败。剪贴板访问已被阻止。请重试。",
531
+ copySuccessMessage: (
532
+ /* istanbul ignore next */
533
+ (value) => `颜色 ${value} 已复制到剪贴板。`
534
+ ),
535
+ selectionSuccessMessage: (
536
+ /* istanbul ignore next */
537
+ (value) => `已选择颜色 ${value}。`
538
+ ),
539
+ maxSwatchesMessage: (
540
+ /* istanbul ignore next */
541
+ (total, limit) => `已保存 ${limit} 种颜色中的 ${total} 种。`
542
+ )
492
543
  }
493
544
  };
494
545