@ckeditor/ckeditor5-style 39.0.2 → 40.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.
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack://CKEditor5.style/./theme/style.css","webpack://CKEditor5.style/./theme/stylegrid.css","webpack://CKEditor5.style/./theme/stylegroup.css","webpack://CKEditor5.style/./theme/stylepanel.css","webpack://CKEditor5.style/../node_modules/css-loader/dist/runtime/api.js","webpack://CKEditor5.style/../node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://CKEditor5.style/./theme/style.css?8fd6","webpack://CKEditor5.style/./theme/stylegrid.css?e256","webpack://CKEditor5.style/./theme/stylegroup.css?b9f8","webpack://CKEditor5.style/./theme/stylepanel.css?e19c","webpack://CKEditor5.style/../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://CKEditor5.style/./src/style.js","webpack://CKEditor5.style/./src/stylecommand.js","webpack://CKEditor5.style/./src/styleediting.js","webpack://CKEditor5.style/./src/styleui.js","webpack://CKEditor5.style/./src/ui/stylegridbuttonview.js","webpack://CKEditor5.style/./src/ui/stylegridview.js","webpack://CKEditor5.style/./src/ui/stylegroupview.js","webpack://CKEditor5.style/./src/ui/stylepanelview.js","webpack://CKEditor5.style/./src/utils.js","webpack://CKEditor5.style/delegated \"./src/core.js\" from dll-reference CKEditor5.dll","webpack://CKEditor5.style/delegated \"./src/ui.js\" from dll-reference CKEditor5.dll","webpack://CKEditor5.style/delegated \"./src/utils.js\" from dll-reference CKEditor5.dll","webpack://CKEditor5.style/external var \"CKEditor5.dll\"","webpack://CKEditor5.style/webpack/bootstrap","webpack://CKEditor5.style/webpack/runtime/compat get default export","webpack://CKEditor5.style/webpack/runtime/define property getters","webpack://CKEditor5.style/webpack/runtime/hasOwnProperty shorthand","webpack://CKEditor5.style/webpack/runtime/make namespace object","webpack://CKEditor5.style/webpack/runtime/nonce","webpack://CKEditor5.style/./src/index.js"],"names":[],"mappings":"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A,GAAG;;AAEH;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,qEAAqE,qBAAqB,cAAc;;AAExG;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA,yDAAyD;AACzD,IAAI;;AAEJ;;;AAGA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;;AAEA;;AAEA,qBAAqB,6BAA6B;AAClD;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;AC5QA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAE4C;;AAEZ;AACU;;AAE1C;AACA;AACA;AACA,2CAA2C;AAC3C,QAAQ,oDAAoD;AAC5D;AACA;AACA;AACe,oBAAoB,sDAAM;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,qDAAY,EAAE,gDAAO;AAChC;AACA;;AAEA;AACA,6BAA6B,gCAAgC;AAC7D;AACA,iBAAiB,qCAAqC;AACtD;AACA,YAAY,gCAAgC;AAC5C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,QAAQ,sEAAsE;AAC9E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI,4DAA4D;AAChE;AACA;AACA;AACA,iDAAiD;AACjD;AACA,6CAA6C,4EAA4E;AACzH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,IAAI,kEAAkE;AACtE,IAAI,sEAAsE;AAC1E;AACA,YAAY,4CAA4C;AACxD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;;;;;;;;;;;;;;;;;;ACtHA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAE6C;AACW;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACe,2BAA2B,uDAAO;AACjD;AACA;AACA;AACA,YAAY,kCAAkC;AAC9C,YAAY,QAAQ;AACpB,YAAY,4CAA4C;AACxD,YAAY,4CAA4C;AACxD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM,gEAAgE;AACtE;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM,gEAAgE;AACtE;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAc,QAAQ;AACtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,0DAAK;;AAE1B;AACA,qDAAqD,uCAAuC;;AAE5F;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iCAAiC;AACjC;AACA;AACA;AACA,oDAAoD,uDAAuD;AAC3G;AACA;AACA;AACA;AACA;AACA,KAAK,sDAAsD;AAC3D;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,KAAK,+DAA+D;AACpE,YAAY,SAAS;AACrB;AACA;AACA;AACA,YAAY,wBAAwB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA;AACA;AACA;AACA,GAAG,+DAAU;;AAEb;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;;AAErB;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,cAAc,aAAa;AAC3B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,uDAAuD,uCAAuC;;AAE9F;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;;;;ACvQA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAE4C;AACF;;AAEA;;AAE1C;AACA;AACA;AACA,sBAAsB,mEAAmE;AACzF,IAAI,+EAA+E;AACnF,IAAI,4DAA4D;AAChE;AACA;AACA;AACe,2BAA2B,sDAAM;AAChD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,uDAAe;;AAEpD,oCAAoC,qDAAY;;AAEhD;AACA;;AAEA;AACA;AACA,KAAK,4DAA4D,IAAI;AACrE,+BAA+B,iDAAiD;AAChF;AACA;AACA,YAAY,QAAQ;AACpB;AACA,4BAA4B,qDAAqD;AACjF;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa;AACb,sDAAsD,mBAAmB;AACzE;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;AC5EA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAE4C;AACM;;AAED;AACP;;AAEd;;AAE5B;AACA;AACA;AACA,2DAA2D;AAC3D;AACA;AACA;AACA;AACe,sBAAsB,sDAAM;AAC3C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,uDAAe;;AAEpD;AACA;AACA;AACA,oBAAoB,gEAAc;AAClC,yBAAyB,0DAAc;AACvC;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA,+BAA+B,6CAA6C;AAC5E;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;;;;;;;;;;;;;;;;;ACrGA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAK0B;;AAE1B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb;AACe,kCAAkC,wDAAU;AAC3D;AACA,gCAAgC,+DAA+D;AAC/F;AACA,YAAY,4BAA4B;AACxC,YAAY,oCAAoC;AAChD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,oCAAoC;AAClD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAc,qBAAqB;AACnC;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA,UAAU,mBAAmB;AAC7B,0BAA0B,kDAAI;;AAE9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,QAAQ;AACR;AACA;AACA;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,cAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;ACvHA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEoE;AACC;AACb;;AAErB;;AAEnC;AACA,2CAA2C,sEAAsE;AACjH;AACA;AACA;AACA;AACA;AACe,4BAA4B,kDAAI;AAC/C;AACA,gCAAgC,mDAAmD;AACnF;AACA,YAAY,4BAA4B;AACxC,YAAY,4CAA4C;AACxD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA,0BAA0B,6DAAY;;AAEtC;AACA,yBAAyB,qDAAqD;AAC9E;AACA;AACA,cAAc;AACd;AACA,wBAAwB,iEAAgB;;AAExC;AACA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;;AAEA;AACA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;;AAEA;AACA,4BAA4B,sEAAsE;AAClG;AACA;AACA,cAAc;AACd;AACA;AACA;;AAEA;AACA,4BAA4B,4DAAmB;;AAE/C;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA,IAAI;;AAEJ;AACA,mBAAmB,qEAAqE;AACxF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,EAAE,4EAA0B;AAC5B;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;AC3JA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAK0B;AACkB;;AAER;;AAEpC;AACA;AACA;AACA,cAAc,8DAA8D;AAC5E;AACA;AACA;AACA;AACe,6BAA6B,kDAAI;AAChD;AACA,gCAAgC,qDAAqD;AACrF;AACA,YAAY,4BAA4B;AACxC,YAAY,QAAQ;AACpB,YAAY,4CAA4C;AACxD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAc,2BAA2B;AACzC;AACA,uBAAuB,uDAAS;AAChC;;AAEA;AACA;AACA;AACA;AACA,cAAc,6CAA6C;AAC3D;AACA,sBAAsB,sDAAa;;AAEnC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;;;;;;;;;;;;;;;;;;;ACxEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAM0B;AAC2C;AACvB;;AAEV;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACe,6BAA6B,kDAAI;AAChD;AACA,gCAAgC,qDAAqD;AACrF;AACA,YAAY,4BAA4B;AACxC,YAAY,QAAQ;AACpB,YAAY,4CAA4C;AACxD,YAAY,4CAA4C;AACxD;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA,0BAA0B,6DAAY;;AAEtC;AACA,yBAAyB,qDAAqD;AAC9E;AACA;AACA,cAAc;AACd;AACA,wBAAwB,iEAAgB;;AAExC;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA,kCAAkC,uDAAc;;AAEhD;AACA;AACA;AACA;AACA,cAAc;AACd;AACA,mCAAmC,uDAAc;;AAEjD;AACA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;;AAEA;AACA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA,yBAAyB,4DAAc;;AAEvC;AACA,yBAAyB,oBAAoB;AAC7C;AACA;AACA;AACA,cAAc;AACd;AACA,0BAA0B,yDAAW;AACrC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACnMA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,eAAe,kDAAkD;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,2CAA2C;AACtD,WAAW,4CAA4C;AACvD,aAAa,QAAQ;AACrB;AACO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA,uCAAuC,8CAA8C;AACrF,IAAI;AACJ,wCAAwC,+BAA+B;AACvE;AACA;AACA;AACA;;;;;;;;;;;ACxDA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;;;;;;;;;;;;;;;;ACAA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAE2C;AACc;AACV","file":"style.js","sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".ck.ck-dropdown.ck-style-dropdown.ck-style-dropdown_multiple-active>.ck-button>.ck-button__label{font-style:italic}\", \"\",{\"version\":3,\"sources\":[\"webpack://./../ckeditor5-theme-lark/theme/ckeditor5-style/style.css\"],\"names\":[],\"mappings\":\"AAKA,iGACC,iBACD\",\"sourcesContent\":[\"/*\\n * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\\n */\\n\\n.ck.ck-dropdown.ck-style-dropdown.ck-style-dropdown_multiple-active > .ck-button > .ck-button__label {\\n\\tfont-style: italic;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":root{--ck-style-panel-columns:3}.ck.ck-style-panel .ck-style-grid{display:grid;grid-template-columns:repeat(var(--ck-style-panel-columns),auto);justify-content:start}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button{display:flex;flex-direction:column;justify-content:space-between}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button .ck-style-grid__button__preview{align-content:center;align-items:center;display:flex;flex-basis:100%;flex-grow:1;justify-content:flex-start}:root{--ck-style-panel-button-width:120px;--ck-style-panel-button-height:80px;--ck-style-panel-button-label-background:#f0f0f0;--ck-style-panel-button-hover-label-background:#ebebeb;--ck-style-panel-button-hover-border-color:#b3b3b3}.ck.ck-style-panel .ck-style-grid{column-gap:var(--ck-spacing-large);row-gap:var(--ck-spacing-large)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button{--ck-color-button-default-hover-background:var(--ck-color-base-background);--ck-color-button-default-active-background:var(--ck-color-base-background);height:var(--ck-style-panel-button-height);padding:0;width:var(--ck-style-panel-button-width)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button .ck-button__label{flex-shrink:0;height:22px;line-height:22px;overflow:hidden;padding:0 var(--ck-spacing-medium);text-overflow:ellipsis;width:100%}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button .ck-style-grid__button__preview{background:var(--ck-color-base-background);border:2px solid var(--ck-color-base-background);opacity:.9;overflow:hidden;padding:var(--ck-spacing-medium);width:100%}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled{--ck-color-button-default-disabled-background:var(--ck-color-base-foreground)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled:not(:focus){border-color:var(--ck-style-panel-button-label-background)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled .ck-style-grid__button__preview{border-color:var(--ck-color-base-foreground);filter:saturate(.3);opacity:.4}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on{border-color:var(--ck-color-base-active)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on .ck-button__label{box-shadow:0 -1px 0 var(--ck-color-base-active);z-index:1}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on:hover{border-color:var(--ck-color-base-active-focus)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(.ck-on) .ck-button__label{background:var(--ck-style-panel-button-label-background)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(.ck-on):hover .ck-button__label{background:var(--ck-style-panel-button-hover-label-background)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:hover:not(.ck-disabled):not(.ck-on){border-color:var(--ck-style-panel-button-hover-border-color)}.ck.ck-style-panel .ck-style-grid .ck-style-grid__button:hover:not(.ck-disabled):not(.ck-on) .ck-style-grid__button__preview{opacity:1}\", \"\",{\"version\":3,\"sources\":[\"webpack://./theme/stylegrid.css\",\"webpack://./../ckeditor5-theme-lark/theme/ckeditor5-style/stylegrid.css\"],\"names\":[],\"mappings\":\"AAKA,MACC,0BACD,CAEA,kCACC,YAAa,CACb,gEAAiE,CACjE,qBAgBD,CAdC,yDACC,YAAa,CAEb,qBAAsB,CADtB,6BAWD,CARC,yFAEC,oBAAqB,CAErB,kBAAmB,CAHnB,YAAa,CAKb,eAAgB,CADhB,WAAY,CAFZ,0BAID,CCrBF,MACC,mCAAoC,CACpC,mCAAoC,CACpC,gDAA2D,CAC3D,sDAAiE,CACjE,kDACD,CAEA,kCAEC,kCAAmC,CADnC,+BAmFD,CAhFC,yDACC,0EAA2E,CAC3E,2EAA4E,CAI5E,0CAA2C,CAF3C,SAAU,CACV,wCA0ED,CAtEC,qEACC,4CACD,CAEA,2EAOC,aAAc,CANd,WAAY,CACZ,gBAAiB,CAGjB,eAAgB,CADhB,kCAAmC,CAEnC,sBAAuB,CAHvB,UAKD,CAEA,yFAMC,0CAA2C,CAC3C,gDAAiD,CAJjD,UAAW,CADX,eAAgB,CAGhB,gCAAiC,CAJjC,UAOD,CAEA,qEACC,6EAaD,CAVC,iFACC,0DACD,CAEA,qGAGC,4CAA6C,CAC7C,mBAAoB,CAHpB,UAID,CAGD,+DACC,wCAUD,CARC,iFACC,+CAAgD,CAChD,SACD,CAEA,qEACC,8CACD,CAIA,uFACC,wDACD,CAEA,6FACC,8DACD,CAGD,6FACC,4DAKD,CAHC,6HACC,SACD\",\"sourcesContent\":[\"/*\\n * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\\n */\\n\\n:root {\\n\\t--ck-style-panel-columns: 3;\\n}\\n\\n.ck.ck-style-panel .ck-style-grid {\\n\\tdisplay: grid;\\n\\tgrid-template-columns: repeat(var(--ck-style-panel-columns),auto);\\n\\tjustify-content: start;\\n\\n\\t& .ck-style-grid__button {\\n\\t\\tdisplay: flex;\\n\\t\\tjustify-content: space-between;\\n\\t\\tflex-direction: column;\\n\\n\\t\\t& .ck-style-grid__button__preview {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\talign-content: center;\\n\\t\\t\\tjustify-content: flex-start;\\n\\t\\t\\talign-items: center;\\n\\t\\t\\tflex-grow: 1;\\n\\t\\t\\tflex-basis: 100%;\\n\\t\\t}\\n\\t}\\n}\\n\",\"/*\\n * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\\n */\\n\\n:root {\\n\\t--ck-style-panel-button-width: 120px;\\n\\t--ck-style-panel-button-height: 80px;\\n\\t--ck-style-panel-button-label-background: hsl(0, 0%, 94.1%);\\n\\t--ck-style-panel-button-hover-label-background: hsl(0, 0%, 92.1%);\\n\\t--ck-style-panel-button-hover-border-color: hsl(0, 0%, 70%);\\n}\\n\\n.ck.ck-style-panel .ck-style-grid {\\n\\trow-gap: var(--ck-spacing-large);\\n\\tcolumn-gap: var(--ck-spacing-large);\\n\\n\\t& .ck-style-grid__button {\\n\\t\\t--ck-color-button-default-hover-background: var(--ck-color-base-background);\\n\\t\\t--ck-color-button-default-active-background: var(--ck-color-base-background);\\n\\n\\t\\tpadding: 0;\\n\\t\\twidth: var(--ck-style-panel-button-width);\\n\\t\\theight: var(--ck-style-panel-button-height);\\n\\n\\t\\t/* Let default .ck-button :focus styles apply */\\n\\t\\t&:not(:focus) {\\n\\t\\t\\tborder: 1px solid var(--ck-color-base-border);\\n\\t\\t}\\n\\n\\t\\t& .ck-button__label {\\n\\t\\t\\theight: 22px;\\n\\t\\t\\tline-height: 22px;\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\tpadding: 0 var(--ck-spacing-medium);\\n\\t\\t\\toverflow: hidden;\\n\\t\\t\\ttext-overflow: ellipsis;\\n\\t\\t\\tflex-shrink: 0;\\n\\t\\t}\\n\\n\\t\\t& .ck-style-grid__button__preview {\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\toverflow: hidden;\\n\\t\\t\\topacity: .9;\\n\\n\\t\\t\\tpadding: var(--ck-spacing-medium);\\n\\t\\t\\tbackground: var(--ck-color-base-background);\\n\\t\\t\\tborder: 2px solid var(--ck-color-base-background);\\n\\t\\t}\\n\\n\\t\\t&.ck-disabled {\\n\\t\\t\\t--ck-color-button-default-disabled-background: var(--ck-color-base-foreground);\\n\\n\\t\\t\\t/* Let default .ck-button :focus styles apply */\\n\\t\\t\\t&:not(:focus) {\\n\\t\\t\\t\\tborder-color: var(--ck-style-panel-button-label-background);\\n\\t\\t\\t}\\n\\n\\t\\t\\t& .ck-style-grid__button__preview {\\n\\t\\t\\t\\topacity: .4;\\n\\n\\t\\t\\t\\tborder-color: var(--ck-color-base-foreground);\\n\\t\\t\\t\\tfilter: saturate(.3);\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t&.ck-on {\\n\\t\\t\\tborder-color: var(--ck-color-base-active);\\n\\n\\t\\t\\t& .ck-button__label {\\n\\t\\t\\t\\tbox-shadow: 0 -1px 0 var(--ck-color-base-active);\\n\\t\\t\\t\\tz-index: 1; /* Stay on top of the preview with the shadow. */\\n\\t\\t\\t}\\n\\n\\t\\t\\t&:hover {\\n\\t\\t\\t\\tborder-color: var(--ck-color-base-active-focus);\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t&:not(.ck-on) {\\n\\t\\t\\t& .ck-button__label {\\n\\t\\t\\t\\tbackground: var(--ck-style-panel-button-label-background);\\n\\t\\t\\t}\\n\\n\\t\\t\\t&:hover .ck-button__label {\\n\\t\\t\\t\\tbackground: var(--ck-style-panel-button-hover-label-background);\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t&:hover:not(.ck-disabled):not(.ck-on) {\\n\\t\\t\\tborder-color: var(--ck-style-panel-button-hover-border-color);\\n\\n\\t\\t\\t& .ck-style-grid__button__preview {\\n\\t\\t\\t\\topacity: 1;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".ck.ck-style-panel .ck-style-panel__style-group>.ck-label{margin:var(--ck-spacing-large) 0}.ck.ck-style-panel .ck-style-panel__style-group:first-child>.ck-label{margin-top:0}\", \"\",{\"version\":3,\"sources\":[\"webpack://./../ckeditor5-theme-lark/theme/ckeditor5-style/stylegroup.css\"],\"names\":[],\"mappings\":\"AAMC,0DACC,gCACD,CAGC,sEACC,YACD\",\"sourcesContent\":[\"/*\\n * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\\n */\\n\\n.ck.ck-style-panel .ck-style-panel__style-group {\\n\\t& > .ck-label {\\n\\t\\tmargin: var(--ck-spacing-large) 0;\\n\\t}\\n\\n\\t&:first-child {\\n\\t\\t& > .ck-label {\\n\\t\\t\\tmargin-top: 0;\\n\\t\\t}\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":root{--ck-style-panel-max-height:470px}.ck.ck-style-panel{max-height:var(--ck-style-panel-max-height);overflow-y:auto;padding:var(--ck-spacing-large)}\", \"\",{\"version\":3,\"sources\":[\"webpack://./../ckeditor5-theme-lark/theme/ckeditor5-style/stylepanel.css\"],\"names\":[],\"mappings\":\"AAKA,MACC,iCACD,CAEA,mBAGC,2CAA4C,CAD5C,eAAgB,CADhB,+BAGD\",\"sourcesContent\":[\"/*\\n * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\\n */\\n\\n:root {\\n\\t--ck-style-panel-max-height: 470px;\\n}\\n\\n.ck.ck-style-panel {\\n\\tpadding: var(--ck-spacing-large);\\n\\toverflow-y: auto;\\n\\tmax-height: var(--ck-style-panel-max-height);\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === \"string\") {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, \"\"]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nmodule.exports = function cssWithMappingToString(item) {\n var _item = _slicedToArray(item, 4),\n content = _item[1],\n cssMapping = _item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (typeof btoa === \"function\") {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || \"\").concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join(\"\\n\");\n }\n\n return [content].join(\"\\n\");\n};","import api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./style.css\";\n\nvar options = {\"injectType\":\"singletonStyleTag\",\"attributes\":{\"data-cke\":true}};\n\noptions.insert = \"head\";\noptions.singleton = true;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./stylegrid.css\";\n\nvar options = {\"injectType\":\"singletonStyleTag\",\"attributes\":{\"data-cke\":true}};\n\noptions.insert = \"head\";\noptions.singleton = true;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./stylegroup.css\";\n\nvar options = {\"injectType\":\"singletonStyleTag\",\"attributes\":{\"data-cke\":true}};\n\noptions.insert = \"head\";\noptions.singleton = true;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./stylepanel.css\";\n\nvar options = {\"injectType\":\"singletonStyleTag\",\"attributes\":{\"data-cke\":true}};\n\noptions.insert = \"head\";\noptions.singleton = true;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","\"use strict\";\n\nvar isOldIE = function isOldIE() {\n var memo;\n return function memorize() {\n if (typeof memo === 'undefined') {\n // Test for IE <= 9 as proposed by Browserhacks\n // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n // Tests for existence of standard globals is to allow style-loader\n // to operate correctly into non-standard environments\n // @see https://github.com/webpack-contrib/style-loader/issues/177\n memo = Boolean(window && document && document.all && !window.atob);\n }\n\n return memo;\n };\n}();\n\nvar getTarget = function getTarget() {\n var memo = {};\n return function memorize(target) {\n if (typeof memo[target] === 'undefined') {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n };\n}();\n\nvar stylesInDom = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDom.length; i++) {\n if (stylesInDom[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var index = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3]\n };\n\n if (index !== -1) {\n stylesInDom[index].references++;\n stylesInDom[index].updater(obj);\n } else {\n stylesInDom.push({\n identifier: identifier,\n updater: addStyle(obj, options),\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction insertStyleElement(options) {\n var style = document.createElement('style');\n var attributes = options.attributes || {};\n\n if (typeof attributes.nonce === 'undefined') {\n var nonce = typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n\n if (nonce) {\n attributes.nonce = nonce;\n }\n }\n\n Object.keys(attributes).forEach(function (key) {\n style.setAttribute(key, attributes[key]);\n });\n\n if (typeof options.insert === 'function') {\n options.insert(style);\n } else {\n var target = getTarget(options.insert || 'head');\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n }\n\n return style;\n}\n\nfunction removeStyleElement(style) {\n // istanbul ignore if\n if (style.parentNode === null) {\n return false;\n }\n\n style.parentNode.removeChild(style);\n}\n/* istanbul ignore next */\n\n\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join('\\n');\n };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n var css = remove ? '' : obj.media ? \"@media \".concat(obj.media, \" {\").concat(obj.css, \"}\") : obj.css; // For old IE\n\n /* istanbul ignore if */\n\n if (style.styleSheet) {\n style.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = style.childNodes;\n\n if (childNodes[index]) {\n style.removeChild(childNodes[index]);\n }\n\n if (childNodes.length) {\n style.insertBefore(cssNode, childNodes[index]);\n } else {\n style.appendChild(cssNode);\n }\n }\n}\n\nfunction applyToTag(style, options, obj) {\n var css = obj.css;\n var media = obj.media;\n var sourceMap = obj.sourceMap;\n\n if (media) {\n style.setAttribute('media', media);\n } else {\n style.removeAttribute('media');\n }\n\n if (sourceMap && typeof btoa !== 'undefined') {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n while (style.firstChild) {\n style.removeChild(style.firstChild);\n }\n\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n var style;\n var update;\n var remove;\n\n if (options.singleton) {\n var styleIndex = singletonCounter++;\n style = singleton || (singleton = insertStyleElement(options));\n update = applyToSingletonTag.bind(null, style, styleIndex, false);\n remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n } else {\n style = insertStyleElement(options);\n update = applyToTag.bind(null, style, options);\n\n remove = function remove() {\n removeStyleElement(style);\n };\n }\n\n update(obj);\n return function updateStyle(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n return;\n }\n\n update(obj = newObj);\n } else {\n remove();\n }\n };\n}\n\nmodule.exports = function (list, options) {\n options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n // tags it will allow on a page\n\n if (!options.singleton && typeof options.singleton !== 'boolean') {\n options.singleton = isOldIE();\n }\n\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n\n if (Object.prototype.toString.call(newList) !== '[object Array]') {\n return;\n }\n\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDom[index].references--;\n }\n\n var newLastIdentifiers = modulesToDom(newList, options);\n\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n\n var _index = getIndexByIdentifier(_identifier);\n\n if (stylesInDom[_index].references === 0) {\n stylesInDom[_index].updater();\n\n stylesInDom.splice(_index, 1);\n }\n }\n\n lastIdentifiers = newLastIdentifiers;\n };\n};","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module style/style\n */\n\nimport { Plugin } from 'ckeditor5/src/core';\n\nimport StyleUI from './styleui';\nimport StyleEditing from './styleediting';\n\n/**\n * The style plugin.\n *\n * This is a \"glue\" plugin that loads the {@link module:style/styleediting~StyleEditing style editing feature}\n * and {@link module:style/styleui~StyleUI style UI feature}.\n *\n * @extends module:core/plugin~Plugin\n */\nexport default class Style extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic get pluginName() {\n\t\treturn 'Style';\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic get requires() {\n\t\treturn [ StyleEditing, StyleUI ];\n\t}\n}\n\n/**\n * The configuration of the {@link module:style/style~Style} feature.\n *\n * Read more in {@link module:style/style~StyleConfig}.\n *\n * @member {module:style/style~StyleConfig} module:core/editor/editorconfig~EditorConfig#style\n */\n\n/**\n * The configuration of the style feature.\n *\n *\t\tClassicEditor\n *\t\t\t.create( {\n * \t\t\t\tstyle: ... // Style feature config.\n *\t\t\t} )\n *\t\t\t.then( ... )\n *\t\t\t.catch( ... );\n *\n * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.\n *\n * @interface StyleConfig\n */\n\n/**\n * The available style definitions.\n *\n * Style definitions are displayed in the `'style'` UI dropdown and get applied by the\n * {@link module:style/stylecommand~StyleCommand style command} to the content of the document.\n *\n * In the `'style'` UI dropdown, definitions are automatically grouped into two categories based on the of the `element` property:\n *\n * * **Block styles**: Can be applied to entire {@link module:html-support/dataschema~DataSchema#registerBlockElement block elements}\n * only (e.g. headings, paragraphs, divs).\n * * **Text styles**: Can by applied to any {@link module:html-support/dataschema~DataSchema#registerInlineElement text} in any element\n * in the document.\n *\n * An example configuration:\n *\n *\t\t[\n *\t\t\t// Definitions of block styles.\n *\t\t\t{\n *\t\t\t\tname: 'Red heading',\n *\t\t\t\telement: 'h2',\n *\t\t\t\tclasses: [ 'red-heading' ]\n *\t\t\t},\n *\t\t\t{\n *\t\t\t\tname: 'Vibrant code',\n *\t\t\t\telement: 'pre',\n *\t\t\t\tclasses: [ 'vibrant-code' ]\n *\t\t\t},\n *\n *\t\t\t// Definitions of text (inline) styles.\n *\t\t\t{\n *\t\t\t\tname: 'Marker',\n *\t\t\t\telement: 'span',\n *\t\t\t\tclasses: [ 'marker' ]\n *\t\t\t},\n *\t\t\t// ...\n *\t\t]\n *\n * **Note**: Configuring style definitions will automatically configure the\n * {@glink features/general-html-support General HTML Support feature}. **You do not need to repeat the configuration in\n * {@link module:html-support/generalhtmlsupport~GeneralHtmlSupportConfig}**.\n *\n * @member {Array.<module:style/style~StyleDefinition>} module:style/style~StyleConfig#definitions\n */\n\n/**\n * Style definition.\n *\n * An object describing a style definition. It contains the style `name`, `element` name and an array of CSS `classes`.\n *\n *\t\t// This style will create <h2 class=\"foo\">...</h2> in the document data.\n *\t\t{\n *\t\t\tname: 'Example style',\n *\t\t\telement: 'h2',\n *\t\t\tclasses: [ 'foo' ]\n *\t\t}\n *\n * @typedef {Object} module:style/style~StyleDefinition\n */\n","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module style/stylecommand\n */\n\nimport { Command } from 'ckeditor5/src/core';\nimport { logWarning, first } from 'ckeditor5/src/utils';\n\n/**\n * Style command.\n *\n * Applies and removes styles from selection and elements.\n *\n * @extends module:core/command~Command\n */\nexport default class StyleCommand extends Command {\n\t/**\n\t * Creates an instance of the command.\n\t *\n\t * @param {module:core/editor/editor~Editor} editor Editor on which this command will be used.\n\t * @param {Object} styleDefinitions Normalized definitions of the styles.\n\t * @param {Array.<module:style/style~StyleDefinition>} styleDefinitions.block Definitions of block styles.\n\t * @param {Array.<module:style/style~StyleDefinition>} styleDefinitions.inline Definitions of inline styles.\n\t */\n\tconstructor( editor, styleDefinitions ) {\n\t\tsuper( editor );\n\n\t\t/**\n\t\t * Set of currently applied styles on the current selection.\n\t\t *\n\t\t * Names of styles correspond to the `name` property of\n\t\t * {@link module:style/style~StyleDefinition configured definitions}.\n\t\t *\n\t\t * @readonly\n\t\t * @observable\n\t\t * @member {Array.<String>} #value\n\t\t */\n\t\tthis.set( 'value', [] );\n\n\t\t/**\n\t\t * Names of enabled styles (styles that can be applied to the current selection).\n\t\t *\n\t\t * Names of enabled styles correspond to the `name` property of\n\t\t * {@link module:style/style~StyleDefinition configured definitions}.\n\t\t *\n\t\t * @readonly\n\t\t * @observable\n\t\t * @member {Array.<String>} #enabledStyles\n\t\t */\n\t\tthis.set( 'enabledStyles', [] );\n\n\t\t/**\n\t\t * Normalized definitions of the styles.\n\t\t *\n\t\t * @private\n\t\t * @readonly\n\t\t * @member {Object} #styleDefinitions\n\t\t */\n\t\tthis._styleDefinitions = styleDefinitions;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\trefresh() {\n\t\tconst model = this.editor.model;\n\t\tconst selection = model.document.selection;\n\n\t\tconst value = new Set();\n\t\tconst enabledStyles = new Set();\n\n\t\t// Inline styles.\n\t\tfor ( const definition of this._styleDefinitions.inline ) {\n\t\t\tfor ( const ghsAttributeName of definition.ghsAttributes ) {\n\t\t\t\t// Check if this inline style is enabled.\n\t\t\t\tif ( model.schema.checkAttributeInSelection( selection, ghsAttributeName ) ) {\n\t\t\t\t\tenabledStyles.add( definition.name );\n\t\t\t\t}\n\n\t\t\t\t// Check if this inline style is active.\n\t\t\t\tconst ghsAttributeValue = this._getValueFromFirstAllowedNode( ghsAttributeName );\n\n\t\t\t\tif ( hasAllClasses( ghsAttributeValue, definition.classes ) ) {\n\t\t\t\t\tvalue.add( definition.name );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Block styles.\n\t\tconst firstBlock = first( selection.getSelectedBlocks() );\n\n\t\tif ( firstBlock ) {\n\t\t\tconst ancestorBlocks = firstBlock.getAncestors( { includeSelf: true, parentFirst: true } );\n\n\t\t\tfor ( const block of ancestorBlocks ) {\n\t\t\t\t// E.g. reached a model table when the selection is in a cell. The command should not modify\n\t\t\t\t// ancestors of a table.\n\t\t\t\tif ( model.schema.isLimit( block ) ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tif ( !model.schema.checkAttribute( block, 'htmlAttributes' ) ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor ( const definition of this._styleDefinitions.block ) {\n\t\t\t\t\t// Check if this block style is enabled.\n\t\t\t\t\tif ( !definition.modelElements.includes( block.name ) ) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tenabledStyles.add( definition.name );\n\n\t\t\t\t\t// Check if this block style is active.\n\t\t\t\t\tconst ghsAttributeValue = block.getAttribute( 'htmlAttributes' );\n\n\t\t\t\t\tif ( hasAllClasses( ghsAttributeValue, definition.classes ) ) {\n\t\t\t\t\t\tvalue.add( definition.name );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tthis.enabledStyles = Array.from( enabledStyles ).sort();\n\t\tthis.isEnabled = this.enabledStyles.length > 0;\n\t\tthis.value = this.isEnabled ? Array.from( value ).sort() : [];\n\t}\n\n\t/**\n\t * Executes the command &mdash; applies the style classes to the selection or removes it from the selection.\n\t *\n\t * If the command value already contains the requested style, it will remove the style classes. Otherwise, it will set it.\n\t *\n\t * The execution result differs, depending on the {@link module:engine/model/document~Document#selection} and the\n\t * style type (inline or block):\n\t *\n\t * * When applying inline styles:\n\t * * If the selection is on a range, the command applies the style classes to all nodes in that range.\n\t * * If the selection is collapsed in a non-empty node, the command applies the style classes to the\n\t * {@link module:engine/model/document~Document#selection}.\n\t *\n\t * * When applying block styles:\n\t * * If the selection is on a range, the command applies the style classes to the nearest block parent element.\n\t *\n\t * @fires execute\n\t * @param {Object} [options] Command options.\n\t * @param {String} options.styleName Style name matching the one defined in the\n\t * {@link module:style/style~StyleConfig#definitions configuration}.\n\t * @param {Boolean} [options.forceValue] Whether the command should add given style (`true`) or remove it (`false`) from the selection.\n\t * If not set (default), the command will toggle the style basing on the first selected node. Note, that this will not force\n\t * setting a style on an element that cannot receive given style.\n\t */\n\texecute( { styleName, forceValue } ) {\n\t\tif ( !this.enabledStyles.includes( styleName ) ) {\n\t\t\t/**\n\t\t\t * Style command can be executed only with a correct style name.\n\t\t\t *\n\t\t\t * This warning may be caused by:\n\t\t\t *\n\t\t\t * * passing a name that is not specified in the {@link module:style/style~StyleConfig#definitions configuration}\n\t\t\t * (e.g. a CSS class name),\n\t\t\t * * when trying to apply a style that is not allowed on a given element.\n\t\t\t *\n\t\t\t * @error style-command-executed-with-incorrect-style-name\n\t\t\t */\n\t\t\tlogWarning( 'style-command-executed-with-incorrect-style-name' );\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst model = this.editor.model;\n\t\tconst selection = model.document.selection;\n\t\tconst htmlSupport = this.editor.plugins.get( 'GeneralHtmlSupport' );\n\n\t\tconst definition = [\n\t\t\t...this._styleDefinitions.inline,\n\t\t\t...this._styleDefinitions.block\n\t\t].find( ( { name } ) => name == styleName );\n\n\t\tconst shouldAddStyle = forceValue === undefined ? !this.value.includes( definition.name ) : forceValue;\n\n\t\tmodel.change( () => {\n\t\t\tlet selectables;\n\n\t\t\tif ( definition.isBlock ) {\n\t\t\t\tselectables = getAffectedBlocks( selection.getSelectedBlocks(), definition.modelElements, model.schema );\n\t\t\t} else {\n\t\t\t\tselectables = [ selection ];\n\t\t\t}\n\n\t\t\tfor ( const selectable of selectables ) {\n\t\t\t\tif ( shouldAddStyle ) {\n\t\t\t\t\thtmlSupport.addModelHtmlClass( definition.element, definition.classes, selectable );\n\t\t\t\t} else {\n\t\t\t\t\thtmlSupport.removeModelHtmlClass( definition.element, definition.classes, selectable );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t}\n\n\t/**\n\t * Checks the attribute value of the first node in the selection that allows the attribute.\n\t * For the collapsed selection, returns the selection attribute.\n\t *\n\t * @private\n\t * @param {String} attributeName Name of the GHS attribute.\n\t * @returns {Object|null} The attribute value.\n\t */\n\t_getValueFromFirstAllowedNode( attributeName ) {\n\t\tconst model = this.editor.model;\n\t\tconst schema = model.schema;\n\t\tconst selection = model.document.selection;\n\n\t\tif ( selection.isCollapsed ) {\n\t\t\treturn selection.getAttribute( attributeName );\n\t\t}\n\n\t\tfor ( const range of selection.getRanges() ) {\n\t\t\tfor ( const item of range.getItems() ) {\n\t\t\t\tif ( schema.checkAttribute( item, attributeName ) ) {\n\t\t\t\t\treturn item.getAttribute( attributeName );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn null;\n\t}\n}\n\n// Verifies if all classes are present in the given GHS attribute.\nfunction hasAllClasses( ghsAttributeValue, classes ) {\n\tif ( !ghsAttributeValue || !ghsAttributeValue.classes ) {\n\t\treturn false;\n\t}\n\n\treturn classes.every( className => ghsAttributeValue.classes.includes( className ) );\n}\n\n// Returns a set of elements that should be affected by the block-style change.\nfunction getAffectedBlocks( selectedBlocks, elementNames, schema ) {\n\tconst blocks = new Set();\n\n\tfor ( const selectedBlock of selectedBlocks ) {\n\t\tconst ancestorBlocks = selectedBlock.getAncestors( { includeSelf: true, parentFirst: true } );\n\n\t\tfor ( const block of ancestorBlocks ) {\n\t\t\tif ( schema.isLimit( block ) ) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif ( elementNames.includes( block.name ) ) {\n\t\t\t\tblocks.add( block );\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn blocks;\n}\n","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module style/styleediting\n */\n\nimport { Plugin } from 'ckeditor5/src/core';\nimport { normalizeConfig } from './utils';\n\nimport StyleCommand from './stylecommand';\n\n/**\n * The style engine feature.\n *\n * It configures the {@glink features/general-html-support General HTML Support feature} based on\n * {@link module:style/style~StyleConfig#definitions configured style definitions} and introduces the\n * {@link module:style/stylecommand~StyleCommand style command} that applies styles to the content of the document.\n *\n * @extends module:core/plugin~Plugin\n */\nexport default class StyleEditing extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic get pluginName() {\n\t\treturn 'StyleEditing';\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic get requires() {\n\t\treturn [ 'GeneralHtmlSupport' ];\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst dataSchema = editor.plugins.get( 'DataSchema' );\n\t\tconst normalizedStyleDefinitions = normalizeConfig( dataSchema, editor.config.get( 'style.definitions' ) );\n\n\t\teditor.commands.add( 'style', new StyleCommand( editor, normalizedStyleDefinitions ) );\n\n\t\tthis._configureGHSDataFilter( normalizedStyleDefinitions );\n\t}\n\n\t/**\n\t * This is where the styles feature configures the GHS feature. This method translates normalized\n\t * {@link module:style/style~StyleDefinition style definitions} to {@link module:engine/view/matcher~MatcherPattern matcher patterns}\n\t * and feeds them to the GHS {@link module:html-support/datafilter~DataFilter} plugin.\n\t *\n\t * @private\n\t * @param {Object} normalizedStyleDefinitions\n\t */\n\t_configureGHSDataFilter( { block: blockDefinitions, inline: inlineDefinitions } ) {\n\t\tconst ghsDataFilter = this.editor.plugins.get( 'DataFilter' );\n\n\t\tghsDataFilter.loadAllowedConfig( blockDefinitions.map( normalizedStyleDefinitionToMatcherPattern ) );\n\t\tghsDataFilter.loadAllowedConfig( inlineDefinitions.map( normalizedStyleDefinitionToMatcherPattern ) );\n\t}\n}\n\n// Translates a normalized style definition to a view matcher pattern.\n//\n// @param {Object} definition A normalized style definition.\n// @returns {module:engine/view/matcher~MatcherPattern}\nfunction normalizedStyleDefinitionToMatcherPattern( { element, classes } ) {\n\treturn {\n\t\tname: element,\n\t\tclasses\n\t};\n}\n","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module style/styleui\n */\n\nimport { Plugin } from 'ckeditor5/src/core';\nimport { createDropdown } from 'ckeditor5/src/ui';\n\nimport StylePanelView from './ui/stylepanelview';\nimport { normalizeConfig } from './utils';\n\nimport '../theme/style.css';\n\n/**\n * The UI plugin of the style feature .\n *\n * It registers the `'style'` UI dropdown in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}\n * that displays a grid of styles and allows changing styles of the content.\n *\n * @extends module:core/plugin~Plugin\n */\nexport default class StyleUI extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic get pluginName() {\n\t\treturn 'StyleUI';\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst dataSchema = editor.plugins.get( 'DataSchema' );\n\t\tconst normalizedStyleDefinitions = normalizeConfig( dataSchema, editor.config.get( 'style.definitions' ) );\n\n\t\t// Add the dropdown to the component factory.\n\t\teditor.ui.componentFactory.add( 'style', locale => {\n\t\t\tconst t = locale.t;\n\t\t\tconst dropdown = createDropdown( locale );\n\t\t\tconst panelView = new StylePanelView( locale, normalizedStyleDefinitions );\n\t\t\tconst styleCommand = editor.commands.get( 'style' );\n\n\t\t\t// The entire dropdown will be disabled together with the command (e.g. when the editor goes read-only).\n\t\t\tdropdown.bind( 'isEnabled' ).to( styleCommand );\n\n\t\t\t// Put the styles panel is the dropdown.\n\t\t\tdropdown.panelView.children.add( panelView );\n\n\t\t\t// This dropdown has no icon. It displays text label depending on the selection.\n\t\t\tdropdown.buttonView.withText = true;\n\n\t\t\t// The label of the dropdown is dynamic and depends on how many styles are active at a time.\n\t\t\tdropdown.buttonView.bind( 'label' ).to( styleCommand, 'value', value => {\n\t\t\t\tif ( value.length > 1 ) {\n\t\t\t\t\treturn t( 'Multiple styles' );\n\t\t\t\t} else if ( value.length === 1 ) {\n\t\t\t\t\treturn value[ 0 ];\n\t\t\t\t} else {\n\t\t\t\t\treturn t( 'Styles' );\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\t// The dropdown has a static CSS class for easy customization. There's another CSS class\n\t\t\t// that gets displayed when multiple styles are active at a time allowing visual customization of\n\t\t\t// the label.\n\t\t\tdropdown.bind( 'class' ).to( styleCommand, 'value', value => {\n\t\t\t\tconst classes = [\n\t\t\t\t\t'ck-style-dropdown'\n\t\t\t\t];\n\n\t\t\t\tif ( value.length > 1 ) {\n\t\t\t\t\tclasses.push( 'ck-style-dropdown_multiple-active' );\n\t\t\t\t}\n\n\t\t\t\treturn classes.join( ' ' );\n\t\t\t} );\n\n\t\t\t// Close the dropdown when a style is selected in the styles panel.\n\t\t\tpanelView.delegate( 'execute' ).to( dropdown );\n\n\t\t\t// Execute the command when a style is selected in the styles panel.\n\t\t\t// Also focus the editable after executing the command.\n\t\t\t// It overrides a default behaviour where the focus is moved to the dropdown button (#12125).\n\t\t\tdropdown.on( 'execute', evt => {\n\t\t\t\teditor.execute( 'style', { styleName: evt.source.styleDefinition.name } );\n\t\t\t\teditor.editing.view.focus();\n\t\t\t} );\n\n\t\t\t// Bind the state of the styles panel to the command.\n\t\t\tpanelView.bind( 'activeStyles' ).to( styleCommand, 'value' );\n\t\t\tpanelView.bind( 'enabledStyles' ).to( styleCommand, 'enabledStyles' );\n\n\t\t\treturn dropdown;\n\t\t} );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module style/ui/stylegridbuttonview\n */\n\nimport {\n\tButtonView,\n\tView\n} from 'ckeditor5/src/ui';\n\n// These are intermediate element names that can't be rendered as style preview because they don't make sense standalone.\nconst NON_PREVIEWABLE_ELEMENT_NAMES = [\n\t'caption', 'colgroup', 'dd', 'dt', 'figcaption', 'legend', 'li', 'optgroup', 'option', 'rp',\n\t'rt', 'summary', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr'\n];\n\n/**\n * A class representing an individual button (style) in the grid. Renders a rich preview of the style.\n *\n * @protected\n * @extends {module:ui/button/buttonview~ButtonView}\n */\nexport default class StyleGridButtonView extends ButtonView {\n\t/**\n\t * Creates an instance of the {@link module:style/ui/stylegridbuttonview~StyleGridButtonView} class.\n\t *\n\t * @param {module:utils/locale~Locale} locale The localization services instance.\n\t * @param {module:style/style~StyleDefinition} styleDefinition Definition of the style.\n\t */\n\tconstructor( locale, styleDefinition ) {\n\t\tsuper( locale );\n\n\t\t/**\n\t\t * Definition of the style the button will apply when executed.\n\t\t *\n\t\t * @readonly\n\t\t * @member {module:style/style~StyleDefinition} #styleDefinition\n\t\t */\n\t\tthis.styleDefinition = styleDefinition;\n\n\t\t/**\n\t\t * The view rendering the preview of the style.\n\t\t *\n\t\t * @protected\n\t\t * @readonly\n\t\t * @member {module:ui/view~View} #previewView\n\t\t */\n\t\tthis.previewView = this._createPreview();\n\n\t\tthis.set( {\n\t\t\tlabel: styleDefinition.name,\n\t\t\tclass: 'ck-style-grid__button',\n\t\t\twithText: true\n\t\t} );\n\n\t\tthis.extendTemplate( {\n\t\t\tattributes: {\n\t\t\t\trole: 'option'\n\t\t\t}\n\t\t} );\n\n\t\tthis.children.add( this.previewView, 0 );\n\t}\n\n\t/**\n\t * Creates the view representing the preview of the style.\n\t *\n\t * @private\n\t * @returns {module:ui/view~View}\n\t */\n\t_createPreview() {\n\t\tconst { element, classes } = this.styleDefinition;\n\t\tconst previewView = new View( this.locale );\n\n\t\tpreviewView.setTemplate( {\n\t\t\ttag: 'div',\n\n\t\t\tattributes: {\n\t\t\t\tclass: [\n\t\t\t\t\t'ck',\n\t\t\t\t\t'ck-reset_all-excluded',\n\t\t\t\t\t'ck-style-grid__button__preview',\n\t\t\t\t\t'ck-content'\n\t\t\t\t],\n\t\t\t\t// The preview \"AaBbCcDdEeFfGgHhIiJj\" should not be read by screen readers because it is purely presentational.\n\t\t\t\t'aria-hidden': 'true'\n\t\t\t},\n\n\t\t\tchildren: [\n\t\t\t\t{\n\t\t\t\t\ttag: this._isPreviewable( element ) ? element : 'div',\n\t\t\t\t\tattributes: {\n\t\t\t\t\t\tclass: classes\n\t\t\t\t\t},\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t{ text: 'AaBbCcDdEeFfGgHhIiJj' }\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t]\n\t\t} );\n\n\t\treturn previewView;\n\t}\n\n\t/**\n\t * Decides whether an element should be created in the preview or a substitute `<div>` should\n\t * be used instead. This avoids previewing a standalone `<td>`, `<li>`, etc. without a parent.\n\t *\n\t * @private\n\t * @param {String} elementName\n\t * @returns {Boolean} `true` when the element can be rendered. `false` otherwise.\n\t */\n\t_isPreviewable( elementName ) {\n\t\treturn !NON_PREVIEWABLE_ELEMENT_NAMES.includes( elementName );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module style/ui/stylegridview\n */\n\nimport { View, addKeyboardHandlingForGrid } from 'ckeditor5/src/ui';\nimport { FocusTracker, KeystrokeHandler } from 'ckeditor5/src/utils';\nimport StyleGridButtonView from './stylegridbuttonview';\n\nimport '../../theme/stylegrid.css';\n\n/**\n * A class representing a grid of styles ({@link module:style/ui/stylegridbuttonview~StyleGridButtonView buttons}).\n * Allows users to select a style.\n *\n * @protected\n * @extends module:ui/view~View\n */\nexport default class StyleGridView extends View {\n\t/**\n\t * Creates an instance of the {@link module:style/ui/stylegridview~StyleGridView} class.\n\t *\n\t * @param {module:utils/locale~Locale} locale The localization services instance.\n\t * @param {Array.<module:style/style~StyleDefinition>} styleDefinitions Definitions of the styles.\n\t */\n\tconstructor( locale, styleDefinitions ) {\n\t\tsuper( locale );\n\n\t\t/**\n\t\t * Tracks information about the DOM focus in the view.\n\t\t *\n\t\t * @readonly\n\t\t * @member {module:utils/focustracker~FocusTracker}\n\t\t */\n\t\tthis.focusTracker = new FocusTracker();\n\n\t\t/**\n\t\t * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.\n\t\t *\n\t\t * @readonly\n\t\t * @member {module:utils/keystrokehandler~KeystrokeHandler}\n\t\t */\n\t\tthis.keystrokes = new KeystrokeHandler();\n\n\t\t/**\n\t\t * Array of active style names. They must correspond to the names of styles from\n\t\t * definitions passed to the {@link #constructor}.\n\t\t *\n\t\t * @observable\n\t\t * @readonly\n\t\t * @default []\n\t\t * @member {Array.<String>} #activeStyles\n\t\t */\n\t\tthis.set( 'activeStyles', [] );\n\n\t\t/**\n\t\t * Array of enabled style names. They must correspond to the names of styles from\n\t\t * definitions passed to the {@link #constructor}.\n\t\t *\n\t\t * @observable\n\t\t * @readonly\n\t\t * @default []\n\t\t * @member {Array.<String>} #enabledStyles\n\t\t */\n\t\tthis.set( 'enabledStyles', [] );\n\n\t\t/**\n\t\t * A collection of style {@link module:style/ui/stylegridbuttonview~StyleGridButtonView buttons}.\n\t\t *\n\t\t * @readonly\n\t\t * @member {module:ui/viewcollection~ViewCollection}\n\t\t */\n\t\tthis.children = this.createCollection();\n\t\tthis.children.delegate( 'execute' ).to( this );\n\n\t\tfor ( const definition of styleDefinitions ) {\n\t\t\tconst gridTileView = new StyleGridButtonView( locale, definition );\n\n\t\t\tthis.children.add( gridTileView );\n\t\t}\n\n\t\tthis.on( 'change:activeStyles', () => {\n\t\t\tfor ( const child of this.children ) {\n\t\t\t\tchild.isOn = this.activeStyles.includes( child.styleDefinition.name );\n\t\t\t}\n\t\t} );\n\n\t\tthis.on( 'change:enabledStyles', () => {\n\t\t\tfor ( const child of this.children ) {\n\t\t\t\tchild.isEnabled = this.enabledStyles.includes( child.styleDefinition.name );\n\t\t\t}\n\t\t} );\n\n\t\tthis.setTemplate( {\n\t\t\ttag: 'div',\n\n\t\t\tattributes: {\n\t\t\t\tclass: [\n\t\t\t\t\t'ck',\n\t\t\t\t\t'ck-style-grid'\n\t\t\t\t],\n\t\t\t\trole: 'listbox'\n\t\t\t},\n\n\t\t\tchildren: this.children\n\t\t} );\n\n\t\t/**\n\t\t * Fired when a {@link module:style/ui/stylegridbuttonview~StyleGridButtonView style} was selected (clicked) by the user.\n\t\t *\n\t\t * @event execute\n\t\t */\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\trender() {\n\t\tsuper.render();\n\n\t\tfor ( const child of this.children ) {\n\t\t\tthis.focusTracker.add( child.element );\n\t\t}\n\n\t\taddKeyboardHandlingForGrid( {\n\t\t\tkeystrokeHandler: this.keystrokes,\n\t\t\tfocusTracker: this.focusTracker,\n\t\t\tgridItems: this.children,\n\t\t\tnumberOfColumns: 3\n\t\t} );\n\n\t\t// Start listening for the keystrokes coming from the grid view.\n\t\tthis.keystrokes.listenTo( this.element );\n\t}\n\n\t/**\n\t * Focuses the first style button in the grid.\n\t */\n\tfocus() {\n\t\tthis.children.first.focus();\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tdestroy() {\n\t\tsuper.destroy();\n\n\t\tthis.focusTracker.destroy();\n\t\tthis.keystrokes.destroy();\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module style/ui/stylegroupview\n */\n\nimport {\n\tLabelView,\n\tView\n} from 'ckeditor5/src/ui';\nimport StyleGridView from './stylegridview';\n\nimport '../../theme/stylegroup.css';\n\n/**\n * A class representing a group of styles (e.g. \"block\" or \"inline\").\n *\n * Renders a {@link module:style/ui/stylegridview~StyleGridView style grid} and a label.\n *\n * @protected\n * @extends module:ui/view~View\n */\nexport default class StyleGroupView extends View {\n\t/**\n\t * Creates an instance of the {@link module:style/ui/stylegroupview~StyleGroupView} class.\n\t *\n\t * @param {module:utils/locale~Locale} locale The localization services instance.\n\t * @param {String} label The localized label of the group.\n\t * @param {Array.<module:style/style~StyleDefinition>} styleDefinitions Definitions of the styles in the group.\n\t */\n\tconstructor( locale, label, styleDefinitions ) {\n\t\tsuper( locale );\n\n\t\t/**\n\t\t * The label of the group.\n\t\t *\n\t\t * @protected\n\t\t * @readonly\n\t\t * @member {module:ui/label~LabelView} #labelView\n\t\t */\n\t\tthis.labelView = new LabelView( locale );\n\t\tthis.labelView.text = label;\n\n\t\t/**\n\t\t * The styles grid of the group.\n\t\t *\n\t\t * @readonly\n\t\t * @member {module:style/ui/stylegridview~StyleGridView} #gridView\n\t\t */\n\t\tthis.gridView = new StyleGridView( locale, styleDefinitions );\n\n\t\tthis.setTemplate( {\n\t\t\ttag: 'div',\n\n\t\t\tattributes: {\n\t\t\t\tclass: [\n\t\t\t\t\t'ck',\n\t\t\t\t\t'ck-style-panel__style-group'\n\t\t\t\t],\n\t\t\t\trole: 'group',\n\t\t\t\t'aria-labelledby': this.labelView.id\n\t\t\t},\n\n\t\t\tchildren: [\n\t\t\t\tthis.labelView,\n\t\t\t\tthis.gridView\n\t\t\t]\n\t\t} );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module style/ui/stylepanelview\n */\n\nimport {\n\tFocusCycler,\n\tView,\n\tViewCollection\n} from 'ckeditor5/src/ui';\nimport { FocusTracker, KeystrokeHandler } from 'ckeditor5/src/utils';\nimport StyleGroupView from './stylegroupview';\n\nimport '../../theme/stylepanel.css';\n\n/**\n * A class representing a panel with available content styles. It renders styles in button grids, grouped\n * in categories.\n *\n * @protected\n * @extends module:ui/view~View\n */\nexport default class StylePanelView extends View {\n\t/**\n\t * Creates an instance of the {@link module:style/ui/stylegroupview~StyleGroupView} class.\n\t *\n\t * @param {module:utils/locale~Locale} locale The localization services instance.\n\t * @param {Object} styleDefinitions Normalized definitions of the styles.\n\t * @param {Array.<module:style/style~StyleDefinition>} styleDefinitions.block Definitions of block styles.\n\t * @param {Array.<module:style/style~StyleDefinition>} styleDefinitions.inline Definitions of inline styles.\n\t */\n\tconstructor( locale, styleDefinitions ) {\n\t\tsuper( locale );\n\n\t\tconst t = locale.t;\n\n\t\t/**\n\t\t * Tracks information about DOM focus in the panel.\n\t\t *\n\t\t * @readonly\n\t\t * @member {module:utils/focustracker~FocusTracker}\n\t\t */\n\t\tthis.focusTracker = new FocusTracker();\n\n\t\t/**\n\t\t * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.\n\t\t *\n\t\t * @readonly\n\t\t * @member {module:utils/keystrokehandler~KeystrokeHandler}\n\t\t */\n\t\tthis.keystrokes = new KeystrokeHandler();\n\n\t\t/**\n\t\t * A collection of panel children.\n\t\t *\n\t\t * @readonly\n\t\t * @member {module:ui/viewcollection~ViewCollection}\n\t\t */\n\t\tthis.children = this.createCollection();\n\n\t\t/**\n\t\t * A view representing block styles group.\n\t\t *\n\t\t * @readonly\n\t\t * @member {module:style/ui/stylegroupview~StyleGroupView}\n\t\t */\n\t\tthis.blockStylesGroupView = new StyleGroupView( locale, t( 'Block styles' ), styleDefinitions.block );\n\n\t\t/**\n\t\t * A view representing inline styles group.\n\t\t *\n\t\t * @readonly\n\t\t * @member {module:style/ui/stylegroupview~StyleGroupView}\n\t\t */\n\t\tthis.inlineStylesGroupView = new StyleGroupView( locale, t( 'Text styles' ), styleDefinitions.inline );\n\n\t\t/**\n\t\t * Array of active style names. They must correspond to the names of styles from\n\t\t * definitions passed to the {@link #constructor}.\n\t\t *\n\t\t * @observable\n\t\t * @readonly\n\t\t * @default []\n\t\t * @member {Array.<String>} #activeStyles\n\t\t */\n\t\tthis.set( 'activeStyles', [] );\n\n\t\t/**\n\t\t * Array of enabled style names. They must correspond to the names of styles from\n\t\t * definitions passed to the {@link #constructor}.\n\t\t *\n\t\t * @observable\n\t\t * @readonly\n\t\t * @default []\n\t\t * @member {Array.<String>} #enabledStyles\n\t\t */\n\t\tthis.set( 'enabledStyles', [] );\n\n\t\t/**\n\t\t * A collection of views that can be focused in the panel.\n\t\t *\n\t\t * @readonly\n\t\t * @protected\n\t\t * @member {module:ui/viewcollection~ViewCollection}\n\t\t */\n\t\tthis._focusables = new ViewCollection();\n\n\t\t/**\n\t\t * Helps cycling over {@link #_focusables} in the panel.\n\t\t *\n\t\t * @readonly\n\t\t * @protected\n\t\t * @member {module:ui/focuscycler~FocusCycler}\n\t\t */\n\t\tthis._focusCycler = new FocusCycler( {\n\t\t\tfocusables: this._focusables,\n\t\t\tfocusTracker: this.focusTracker,\n\t\t\tkeystrokeHandler: this.keystrokes,\n\t\t\tactions: {\n\t\t\t\t// Navigate style groups backwards using the <kbd>Shift</kbd> + <kbd>Tab</kbd> keystroke.\n\t\t\t\tfocusPrevious: [ 'shift + tab' ],\n\n\t\t\t\t// Navigate style groups forward using the <kbd>Tab</kbd> key.\n\t\t\t\tfocusNext: [ 'tab' ]\n\t\t\t}\n\t\t} );\n\n\t\tif ( styleDefinitions.block.length ) {\n\t\t\tthis.children.add( this.blockStylesGroupView );\n\t\t}\n\n\t\tif ( styleDefinitions.inline.length ) {\n\t\t\tthis.children.add( this.inlineStylesGroupView );\n\t\t}\n\n\t\tthis.blockStylesGroupView.gridView.delegate( 'execute' ).to( this );\n\t\tthis.inlineStylesGroupView.gridView.delegate( 'execute' ).to( this );\n\n\t\tthis.blockStylesGroupView.gridView.bind( 'activeStyles', 'enabledStyles' ).to( this );\n\t\tthis.inlineStylesGroupView.gridView.bind( 'activeStyles', 'enabledStyles' ).to( this );\n\n\t\tthis.setTemplate( {\n\t\t\ttag: 'div',\n\n\t\t\tattributes: {\n\t\t\t\tclass: [\n\t\t\t\t\t'ck',\n\t\t\t\t\t'ck-style-panel'\n\t\t\t\t]\n\t\t\t},\n\n\t\t\tchildren: this.children\n\t\t} );\n\n\t\t/**\n\t\t * Fired when a style was selected (clicked) by the user.\n\t\t *\n\t\t * @event execute\n\t\t */\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\trender() {\n\t\tsuper.render();\n\n\t\t// Register the views as focusable.\n\t\tthis._focusables.add( this.blockStylesGroupView.gridView );\n\t\tthis._focusables.add( this.inlineStylesGroupView.gridView );\n\n\t\t// Register the views in the focus tracker.\n\t\tthis.focusTracker.add( this.blockStylesGroupView.gridView.element );\n\t\tthis.focusTracker.add( this.inlineStylesGroupView.gridView.element );\n\n\t\tthis.keystrokes.listenTo( this.element );\n\t}\n\n\t/**\n\t * Focuses the first focusable element in the panel.\n\t */\n\tfocus() {\n\t\tthis._focusCycler.focusFirst();\n\t}\n\n\t/**\n\t * Focuses the last focusable element in the panel.\n\t */\n\tfocusLast() {\n\t\tthis._focusCycler.focusLast();\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module style/utils\n */\n\n/**\n * Normalizes {@link module:style/style~StyleConfig#definitions} in the configuration of the styles feature.\n * The structure of normalized styles looks as follows:\n *\n *\t\t{\n *\t\t\tblock: [\n *\t\t\t\t<module:style/style~StyleDefinition>,\n *\t\t\t\t<module:style/style~StyleDefinition>,\n *\t\t\t\t...\n *\t\t\t],\n *\t\t\tinline: [\n *\t\t\t\t<module:style/style~StyleDefinition>,\n *\t\t\t\t<module:style/style~StyleDefinition>,\n *\t\t\t\t...\n *\t\t\t]\n *\t\t}\n *\n * @protected\n * @param {module:html-support/dataschema~DataSchema} dataSchema\n * @param {Array.<module:style/style~StyleDefinition>} styleDefinitions\n * @returns {Object} An object with normalized style definitions grouped into `block` and `inline` categories (arrays).\n */\nexport function normalizeConfig( dataSchema, styleDefinitions = [] ) {\n\tconst normalizedDefinitions = {\n\t\tblock: [],\n\t\tinline: []\n\t};\n\n\tfor ( const definition of styleDefinitions ) {\n\t\tconst modelElements = [];\n\t\tconst ghsAttributes = [];\n\n\t\tfor ( const ghsDefinition of dataSchema.getDefinitionsForView( definition.element ) ) {\n\t\t\tif ( ghsDefinition.isBlock ) {\n\t\t\t\tmodelElements.push( ghsDefinition.model );\n\t\t\t} else {\n\t\t\t\tghsAttributes.push( ghsDefinition.model );\n\t\t\t}\n\t\t}\n\n\t\tif ( modelElements.length ) {\n\t\t\tnormalizedDefinitions.block.push( { ...definition, modelElements, isBlock: true } );\n\t\t} else {\n\t\t\tnormalizedDefinitions.inline.push( { ...definition, ghsAttributes } );\n\t\t}\n\t}\n\treturn normalizedDefinitions;\n}\n","module.exports = (__webpack_require__(/*! dll-reference CKEditor5.dll */ \"dll-reference CKEditor5.dll\"))(\"./src/core.js\");","module.exports = (__webpack_require__(/*! dll-reference CKEditor5.dll */ \"dll-reference CKEditor5.dll\"))(\"./src/ui.js\");","module.exports = (__webpack_require__(/*! dll-reference CKEditor5.dll */ \"dll-reference CKEditor5.dll\"))(\"./src/utils.js\");","module.exports = CKEditor5.dll;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module style\n */\n\nexport { default as Style } from './style';\nexport { default as StyleEditing } from './styleediting';\nexport { default as StyleUI } from './styleui';\n"],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-style",
3
- "version": "39.0.2",
3
+ "version": "40.0.0",
4
4
  "description": "Style feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,7 +12,7 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "39.0.2",
15
+ "ckeditor5": "40.0.0",
16
16
  "lodash-es": "4.17.21"
17
17
  },
18
18
  "author": "CKSource (http://cksource.com/)",
@@ -1,24 +1,24 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- import type { StyleConfig, StyleCommand, Style, StyleEditing, StyleUI, StyleUtils } from './index';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface PluginsMap {
8
- [Style.pluginName]: Style;
9
- [StyleEditing.pluginName]: StyleEditing;
10
- [StyleUI.pluginName]: StyleUI;
11
- [StyleUtils.pluginName]: StyleUtils;
12
- }
13
- interface CommandsMap {
14
- style: StyleCommand;
15
- }
16
- interface EditorConfig {
17
- /**
18
- * The configuration of the {@link module:style/style~Style} feature.
19
- *
20
- * Read more in {@link module:style/styleconfig~StyleConfig}.
21
- */
22
- style?: StyleConfig;
23
- }
24
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import type { StyleConfig, StyleCommand, Style, StyleEditing, StyleUI, StyleUtils } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface PluginsMap {
8
+ [Style.pluginName]: Style;
9
+ [StyleEditing.pluginName]: StyleEditing;
10
+ [StyleUI.pluginName]: StyleUI;
11
+ [StyleUtils.pluginName]: StyleUtils;
12
+ }
13
+ interface CommandsMap {
14
+ style: StyleCommand;
15
+ }
16
+ interface EditorConfig {
17
+ /**
18
+ * The configuration of the {@link module:style/style~Style} feature.
19
+ *
20
+ * Read more in {@link module:style/styleconfig~StyleConfig}.
21
+ */
22
+ style?: StyleConfig;
23
+ }
24
+ }
@@ -1,5 +1,5 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export {};
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export {};
package/src/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module style
7
- */
8
- export { default as Style } from './style';
9
- export { default as StyleEditing } from './styleediting';
10
- export { default as StyleUI } from './styleui';
11
- export { default as StyleUtils } from './styleutils';
12
- export type { StyleConfig, StyleDefinition } from './styleconfig';
13
- export type { default as StyleCommand } from './stylecommand';
14
- import './augmentation';
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module style
7
+ */
8
+ export { default as Style } from './style';
9
+ export { default as StyleEditing } from './styleediting';
10
+ export { default as StyleUI } from './styleui';
11
+ export { default as StyleUtils } from './styleutils';
12
+ export type { StyleConfig, StyleDefinition } from './styleconfig';
13
+ export type { default as StyleCommand } from './stylecommand';
14
+ import './augmentation';
package/src/index.js CHANGED
@@ -1,12 +1,12 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module style
7
- */
8
- export { default as Style } from './style';
9
- export { default as StyleEditing } from './styleediting';
10
- export { default as StyleUI } from './styleui';
11
- export { default as StyleUtils } from './styleutils';
12
- import './augmentation';
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module style
7
+ */
8
+ export { default as Style } from './style';
9
+ export { default as StyleEditing } from './styleediting';
10
+ export { default as StyleUI } from './styleui';
11
+ export { default as StyleUtils } from './styleutils';
12
+ import './augmentation';
@@ -1,42 +1,42 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module style/integrations/documentlist
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import StyleUtils from '../styleutils';
10
- export default class DocumentListStyleSupport extends Plugin {
11
- private _documentListUtils;
12
- private _styleUtils;
13
- private _htmlSupport;
14
- /**
15
- * @inheritDoc
16
- */
17
- static get pluginName(): "DocumentListStyleSupport";
18
- /**
19
- * @inheritDoc
20
- */
21
- static get requires(): readonly [typeof StyleUtils, "GeneralHtmlSupport"];
22
- /**
23
- * @inheritDoc
24
- */
25
- init(): void;
26
- /**
27
- * Verifies if the given style is applicable to the provided block element.
28
- */
29
- private _isStyleEnabledForBlock;
30
- /**
31
- * Returns true if the given style is applied to the specified block element.
32
- */
33
- private _isStyleActiveForBlock;
34
- /**
35
- * Returns an array of block elements that style should be applied to.
36
- */
37
- private _getAffectedBlocks;
38
- /**
39
- * Returns a view template definition for the style preview.
40
- */
41
- private _getStylePreview;
42
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module style/integrations/documentlist
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import StyleUtils from '../styleutils';
10
+ export default class DocumentListStyleSupport extends Plugin {
11
+ private _documentListUtils;
12
+ private _styleUtils;
13
+ private _htmlSupport;
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static get pluginName(): "DocumentListStyleSupport";
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get requires(): readonly [typeof StyleUtils, "GeneralHtmlSupport"];
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ init(): void;
26
+ /**
27
+ * Verifies if the given style is applicable to the provided block element.
28
+ */
29
+ private _isStyleEnabledForBlock;
30
+ /**
31
+ * Returns true if the given style is applied to the specified block element.
32
+ */
33
+ private _isStyleActiveForBlock;
34
+ /**
35
+ * Returns an array of block elements that style should be applied to.
36
+ */
37
+ private _getAffectedBlocks;
38
+ /**
39
+ * Returns a view template definition for the style preview.
40
+ */
41
+ private _getStylePreview;
42
+ }