hoodcms 6.0.2 → 6.0.5

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/dist/js/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * hoodcms v6.0.2
2
+ * hoodcms v6.0.5
3
3
  * A fully customisable content management system built in ASP.NET Core 5 & Bootstrap 5.
4
4
  * Written by George Whysall, 2022
5
5
  * Released under the GPL-3.0 License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * hoodcms v6.0.2
2
+ * hoodcms v6.0.5
3
3
  * A fully customisable content management system built in ASP.NET Core 5 & Bootstrap 5.
4
4
  * Written by George Whysall, 2022
5
5
  * Released under the GPL-3.0 License.
@@ -100,10 +100,10 @@ export class Editors {
100
100
  setupCommands(editor) {
101
101
  this.currentEditor = $('#' + editor.id);
102
102
  if (this.currentEditor.data('hoodMediaList')) {
103
- editor.addButton('hoodimage', {
103
+ editor.ui.registry.addButton('hoodimage', {
104
104
  text: 'Insert image...',
105
- icon: false,
106
- onclick: function (e) {
105
+ icon: 'image',
106
+ onAction: function (e) {
107
107
  this.mediaModal = new ModalController({
108
108
  onComplete: function (sender) {
109
109
  this.list = document.getElementById('media-list');
@@ -1,8 +1,8 @@
1
1
  /// <reference types="google.maps" />
2
- import { Validator } from "..";
3
2
  import { Alerts } from "./Alerts";
4
3
  import { Handlers } from "./Handlers";
5
4
  import { Uploader } from "./Uploader";
5
+ import { Validator } from "./Validator";
6
6
  /**
7
7
  * Base class for extending a Hood CMS website, ensure you call HoodApi.initialise() to setup loaders and contact form defaults.
8
8
  */
package/dist/js/login.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * hoodcms v6.0.2
2
+ * hoodcms v6.0.5
3
3
  * A fully customisable content management system built in ASP.NET Core 5 & Bootstrap 5.
4
4
  * Written by George Whysall, 2022
5
5
  * Released under the GPL-3.0 License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hoodcms",
3
- "version": "6.0.2",
3
+ "version": "6.0.5",
4
4
  "description": "A fully customisable content management system built in ASP.NET Core 5 & Bootstrap 5.",
5
5
  "keywords": [
6
6
  "hood",
package/src/css/admin.css CHANGED
@@ -12147,7 +12147,8 @@ body nav.sidebar {
12147
12147
  max-width: 250px;
12148
12148
  padding-right: 1.5rem;
12149
12149
  padding-left: 1.5rem;
12150
- overflow-y: auto;
12150
+ overflow-y: scroll;
12151
+ overflow-x: visible;
12151
12152
  background: white;
12152
12153
  border-right: 1px solid #e9ecef;
12153
12154
  transition: all 0.2s ease-in-out;
@@ -12159,6 +12160,18 @@ body nav.sidebar {
12159
12160
  transform: translateX(-100%);
12160
12161
  transform: translateX(-100%);
12161
12162
  }
12163
+ body nav.sidebar::-webkit-scrollbar {
12164
+ width: 5px;
12165
+ }
12166
+ body nav.sidebar::-webkit-scrollbar-track {
12167
+ background: #e9ecef;
12168
+ }
12169
+ body nav.sidebar::-webkit-scrollbar-thumb {
12170
+ background: #ced4da;
12171
+ }
12172
+ body nav.sidebar::-webkit-scrollbar-thumb:hover {
12173
+ background: #6c757d;
12174
+ }
12162
12175
  body nav.sidebar > [class*=container] {
12163
12176
  flex-direction: column;
12164
12177
  align-items: stretch;