hoodcms 6.0.1 → 6.0.4

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.
@@ -1,4 +1,20 @@
1
1
  nav.sidebar {
2
+ &::-webkit-scrollbar {
3
+ width: 5px;
4
+ }
5
+
6
+ &::-webkit-scrollbar-track {
7
+ background: $gray-200;
8
+ }
9
+
10
+ &::-webkit-scrollbar-thumb {
11
+ background: $gray-400;
12
+ }
13
+
14
+ &::-webkit-scrollbar-thumb:hover {
15
+ background: $gray-600;
16
+ }
17
+
2
18
  position: fixed;
3
19
  top: 59px;
4
20
  bottom: 0;
@@ -8,7 +24,8 @@ nav.sidebar {
8
24
  max-width: 250px;
9
25
  padding-right: 1.5rem;
10
26
  padding-left: 1.5rem;
11
- overflow-y: auto;
27
+ overflow-y: scroll;
28
+ overflow-x: visible;
12
29
  background: white;
13
30
  border-right: 1px solid $gray-200;
14
31
  @include transition(all .2s ease-in-out);
@@ -122,10 +122,10 @@ export class Editors {
122
122
  this.currentEditor = $('#' + editor.id);
123
123
  if (this.currentEditor.data('hoodMediaList')) {
124
124
 
125
- editor.addButton('hoodimage', {
125
+ editor.ui.registry.addButton('hoodimage', {
126
126
  text: 'Insert image...',
127
- icon: false,
128
- onclick: function (this: Editors, e: any) {
127
+ icon: 'image',
128
+ onAction: function (this: Editors, e: any) {
129
129
 
130
130
  this.mediaModal = new ModalController({
131
131
 
@@ -1,9 +1,10 @@
1
1
  /// <reference types="google.maps" />
2
2
 
3
- import { Response, Validator } from "..";
3
+ import { Response } from "./Response";
4
4
  import { Alerts } from "./Alerts";
5
5
  import { Handlers } from "./Handlers";
6
6
  import { Uploader } from "./Uploader";
7
+ import { Validator } from "./Validator";
7
8
 
8
9
  declare global {
9
10
  interface Hood {
package/temp.txt DELETED
@@ -1 +0,0 @@
1
- 8^N2a43)Kd|.wdl,