@ckeditor/ckeditor5-alignment 38.2.0-alpha.1 → 39.0.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/README.md CHANGED
@@ -4,7 +4,6 @@ CKEditor 5 text alignment feature
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-alignment.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-alignment)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
6
  [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
7
- ![Dependency Status](https://img.shields.io/librariesio/release/npm/@ckeditor/ckeditor5-alignment)
8
7
 
9
8
  This package implements text alignment support for CKEditor 5.
10
9
 
@@ -1 +1 @@
1
- !function(t){const i=t.sq=t.sq||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Radhit në mes","Align left":"Radhit majtas","Align right":"Radhit djathtas",Justify:"Plotësim","Text alignment":"Radhitja e tekstit","Text alignment toolbar":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(t){const i=t.sq=t.sq||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Radhit në mes","Align left":"Radhit majtas","Align right":"Radhit djathtas",Justify:"Plotësim","Text alignment":"Radhitja e tekstit","Text alignment toolbar":"Shiriti i rradhitjes së tekstit"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -38,4 +38,4 @@ msgstr "Radhitja e tekstit"
38
38
 
39
39
  msgctxt "Label used by assistive technologies describing the text alignment feature toolbar."
40
40
  msgid "Text alignment toolbar"
41
- msgstr ""
41
+ msgstr "Shiriti i rradhitjes së tekstit"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-alignment",
3
- "version": "38.2.0-alpha.1",
3
+ "version": "39.0.0",
4
4
  "description": "Text alignment feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,9 +11,8 @@
11
11
  "ckeditor5-dll"
12
12
  ],
13
13
  "main": "src/index.js",
14
- "type": "module",
15
14
  "dependencies": {
16
- "ckeditor5": "38.2.0-alpha.1"
15
+ "ckeditor5": "39.0.0"
17
16
  },
18
17
  "engines": {
19
18
  "node": ">=16.0.0",
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module alignment/alignment
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import AlignmentEditing from './alignmentediting.js';
10
- import AlignmentUI from './alignmentui.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import AlignmentEditing from './alignmentediting';
10
+ import AlignmentUI from './alignmentui';
11
11
  /**
12
12
  * The text alignment plugin.
13
13
  *
package/src/alignment.js CHANGED
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module alignment/alignment
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import AlignmentEditing from './alignmentediting.js';
10
- import AlignmentUI from './alignmentui.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import AlignmentEditing from './alignmentediting';
10
+ import AlignmentUI from './alignmentui';
11
11
  /**
12
12
  * The text alignment plugin.
13
13
  *
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module alignment/alignmentcommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core.js';
9
- import type { SupportedOption } from './alignmentconfig.js';
8
+ import { Command } from 'ckeditor5/src/core';
9
+ import type { SupportedOption } from './alignmentconfig';
10
10
  /**
11
11
  * The alignment command plugin.
12
12
  */
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module alignment/alignmentcommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core.js';
9
- import { first } from 'ckeditor5/src/utils.js';
10
- import { isDefault } from './utils.js';
8
+ import { Command } from 'ckeditor5/src/core';
9
+ import { first } from 'ckeditor5/src/utils';
10
+ import { isDefault } from './utils';
11
11
  const ALIGNMENT = 'alignment';
12
12
  /**
13
13
  * The alignment command plugin.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module alignment/alignmentediting
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
9
  /**
10
10
  * The alignment editing feature. It introduces the {@link module:alignment/alignmentcommand~AlignmentCommand command} and adds
11
11
  * the `alignment` attribute for block elements in the {@link module:engine/model/model~Model model}.
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module alignment/alignmentediting
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import AlignmentCommand from './alignmentcommand.js';
10
- import { isDefault, isSupported, normalizeAlignmentOptions, supportedOptions } from './utils.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import AlignmentCommand from './alignmentcommand';
10
+ import { isDefault, isSupported, normalizeAlignmentOptions, supportedOptions } from './utils';
11
11
  /**
12
12
  * The alignment editing feature. It introduces the {@link module:alignment/alignmentcommand~AlignmentCommand command} and adds
13
13
  * the `alignment` attribute for block elements in the {@link module:engine/model/model~Model model}.
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module alignment/alignmentui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import type { SupportedOption } from './alignmentconfig.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import type { SupportedOption } from './alignmentconfig';
10
10
  /**
11
11
  * The default alignment UI plugin.
12
12
  *
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module alignment/alignmentui
7
7
  */
8
- import { Plugin, icons } from 'ckeditor5/src/core.js';
9
- import { ButtonView, createDropdown, addToolbarToDropdown } from 'ckeditor5/src/ui.js';
10
- import { isSupported, normalizeAlignmentOptions } from './utils.js';
8
+ import { Plugin, icons } from 'ckeditor5/src/core';
9
+ import { ButtonView, createDropdown, addToolbarToDropdown } from 'ckeditor5/src/ui';
10
+ import { isSupported, normalizeAlignmentOptions } from './utils';
11
11
  const iconsMap = new Map([
12
12
  ['left', icons.alignLeft],
13
13
  ['right', icons.alignRight],
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { Alignment, AlignmentEditing, AlignmentUI, AlignmentCommand, AlignmentConfig } from './index.js';
5
+ import type { Alignment, AlignmentEditing, AlignmentUI, AlignmentCommand, AlignmentConfig } from './index';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface EditorConfig {
8
8
  /**
package/src/index.d.ts CHANGED
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module alignment
7
7
  */
8
- export { default as Alignment } from './alignment.js';
9
- export { default as AlignmentEditing } from './alignmentediting.js';
10
- export { default as AlignmentUI } from './alignmentui.js';
11
- export type { default as AlignmentCommand } from './alignmentcommand.js';
12
- export type { AlignmentConfig } from './alignmentconfig.js';
13
- import './augmentation.js';
8
+ export { default as Alignment } from './alignment';
9
+ export { default as AlignmentEditing } from './alignmentediting';
10
+ export { default as AlignmentUI } from './alignmentui';
11
+ export type { default as AlignmentCommand } from './alignmentcommand';
12
+ export type { AlignmentConfig } from './alignmentconfig';
13
+ import './augmentation';
package/src/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module alignment
7
7
  */
8
- export { default as Alignment } from './alignment.js';
9
- export { default as AlignmentEditing } from './alignmentediting.js';
10
- export { default as AlignmentUI } from './alignmentui.js';
11
- import './augmentation.js';
8
+ export { default as Alignment } from './alignment';
9
+ export { default as AlignmentEditing } from './alignmentediting';
10
+ export { default as AlignmentUI } from './alignmentui';
11
+ import './augmentation';
package/src/utils.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import { type Locale } from 'ckeditor5/src/utils.js';
6
- import type { AlignmentFormat, SupportedOption } from './alignmentconfig.js';
5
+ import { type Locale } from 'ckeditor5/src/utils';
6
+ import type { AlignmentFormat, SupportedOption } from './alignmentconfig';
7
7
  /**
8
8
  * @module alignment/utils
9
9
  */
package/src/utils.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import { CKEditorError, logWarning } from 'ckeditor5/src/utils.js';
5
+ import { CKEditorError, logWarning } from 'ckeditor5/src/utils';
6
6
  /**
7
7
  * @module alignment/utils
8
8
  */