Refactoring
Core
- Throw proper errors when thumbnails cannot be generated
- Removed
config/blueprints
directory with dead block blueprints and moved default blueprints for site, page and file to in-code arrays inKirby\Cms\Core::blueprints()
- Removed
Kirby\Toolkit\Properties
trait fromKirby\Api\Api
,Kirby\Cms\Api
,Kirby\Email\Email
,Kirby\Email\Body
,Kirby\Cms\Auth\Status
,Kirby\Cms\App
,Kirby\Cms\ContentTranslation
,Kirby\Cms\ModelWithContent
,Kirby\Toolkit\Pagination
,Kirby\Http\Uri
,Kirby\Cms\FileVersion
,Kirby\Filesystem\Asset
,Kirby\Filesystem\File
,Kirby\Image\Image
classes andKirby\Filesystem\IsFile
trait Kirby\Cms\Language
,Kirby\Cms\Plugin
,Kirby\Cms\Role
andKirby\Cms\StructureObject
don't extendKirby\Cms\Model
(and thus also don't use theKirby\Toolkit\Properties
trait) anymoreKirby\Cms\Structure
extendsKirby\Cms\Items
andKirby\Cms\StructureObject
extendsKirby\Cms\Item
- New
Content
namespace- Moved the
Content
,ContentTranslation
andField
classes into the new namespace (compatibility aliases are provided for now) - New internal
ContentStorage
class that currently holds more of the storage related business logic - New internal
ContentStorageHandler
interface and internalPlainTextContentStorageHandler
class to bundle all low-level content logic in one place
- Moved the
Panel
-
Cleaned up
k-toolbar
component -
Drawer Component Structure
<k-overlay type="drawer"> <form class="k-drawer" method="dialog"> <k-drawer-notification /> <k-drawer-header /> <k-drawer-body> <k-drawer-fields /> </k-drawer-body> </form> </k-overlay>
-
Portals: Dialogs, Drawers and other Overlays are now seperated into different portals. This is done by setting the overlay type:
<k-overlay type="dialog">
<k-overlay type="drawer">
<k-overlay>
An overlay without a type will use the default overlay portal. Separating them into different portals gives us more control over z-index and layering of elements.
-
Removed
v-model
fromk-form
andk-fieldset
-
Removed
$listeners
usage fromk-draggable
,k-button
and subcomponents,k-link
,k-headline
,k-form
,k-block
,k-block-title
,k-box
,k-image
,k-content-item
-
Made
k-bubble
more flexible