@silexlabs/silex 3.0.0-alpha.172 → 3.0.0-alpha.173
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/client/client/grapesjs/keymaps.d.ts +30 -0
- package/dist/client/client/grapesjs/page-panel.d.ts +7 -1
- package/dist/client/css/admin.css +16 -0
- package/dist/client/js/main.js +56 -45
- package/dist/client/js/main.js.LICENSE.txt +6 -0
- package/package.json +1 -1
- package/src/css/dialog.scss +5 -0
- package/src/css/silex.scss +7 -0
- package/src/ts/client/grapesjs/index.ts +1 -1
- package/src/ts/client/grapesjs/keymaps.ts +43 -5
- package/src/ts/client/grapesjs/page-panel.ts +65 -5
|
@@ -88,6 +88,36 @@ export declare const defaultKms: {
|
|
|
88
88
|
keys: string;
|
|
89
89
|
handler: typeof publish;
|
|
90
90
|
};
|
|
91
|
+
kmAddPage: {
|
|
92
|
+
id: string;
|
|
93
|
+
keys: string;
|
|
94
|
+
handler: string;
|
|
95
|
+
};
|
|
96
|
+
kmRemovePage: {
|
|
97
|
+
id: string;
|
|
98
|
+
keys: string;
|
|
99
|
+
handler: string;
|
|
100
|
+
};
|
|
101
|
+
kmClonePage: {
|
|
102
|
+
id: string;
|
|
103
|
+
keys: string;
|
|
104
|
+
handler: string;
|
|
105
|
+
};
|
|
106
|
+
kmSelectNextPage: {
|
|
107
|
+
id: string;
|
|
108
|
+
keys: string;
|
|
109
|
+
handler: string;
|
|
110
|
+
};
|
|
111
|
+
kmSelectPrevPage: {
|
|
112
|
+
id: string;
|
|
113
|
+
keys: string;
|
|
114
|
+
handler: string;
|
|
115
|
+
};
|
|
116
|
+
kmSelectFirstPage: {
|
|
117
|
+
id: string;
|
|
118
|
+
keys: string;
|
|
119
|
+
handler: string;
|
|
120
|
+
};
|
|
91
121
|
};
|
|
92
122
|
export declare function keymapsPlugin(editor: Editor, opts: PluginOptions): void;
|
|
93
123
|
export {};
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import { Editor } from 'grapesjs';
|
|
1
2
|
export declare const cmdTogglePages = "pages:open-panel";
|
|
2
3
|
export declare const cmdAddPage = "pages:add";
|
|
3
|
-
export declare const
|
|
4
|
+
export declare const cmdRemovePage = "pages:remove";
|
|
5
|
+
export declare const cmdClonePage = "pages:clone";
|
|
6
|
+
export declare const cmdSelectNextPage = "pages:select-next";
|
|
7
|
+
export declare const cmdSelectPrevPage = "pages:select-prev";
|
|
8
|
+
export declare const cmdSelectFirstPage = "pages:select-first";
|
|
9
|
+
export declare const pagePanelPlugin: (editor: Editor, opts: any) => void;
|
|
@@ -4005,6 +4005,17 @@ input.silex-button[type=submit] {
|
|
|
4005
4005
|
border-color: transparent;
|
|
4006
4006
|
padding: 5px;
|
|
4007
4007
|
}
|
|
4008
|
+
button.silex-button:focus,
|
|
4009
|
+
input.silex-button[type=button]:focus,
|
|
4010
|
+
input.silex-button[type=submit]:focus {
|
|
4011
|
+
outline: none;
|
|
4012
|
+
box-shadow: 0 0 0 2px #8873FE;
|
|
4013
|
+
}
|
|
4014
|
+
button.silex-button:hover,
|
|
4015
|
+
input.silex-button[type=button]:hover,
|
|
4016
|
+
input.silex-button[type=submit]:hover {
|
|
4017
|
+
background-color: #292929;
|
|
4018
|
+
}
|
|
4008
4019
|
|
|
4009
4020
|
.silex-button.disabled,
|
|
4010
4021
|
.silex-button[disabled] {
|
|
@@ -4230,6 +4241,11 @@ form.silex-form .silex-form__group.col2 {
|
|
|
4230
4241
|
color: #A291FF;
|
|
4231
4242
|
}
|
|
4232
4243
|
|
|
4244
|
+
:focus-visible {
|
|
4245
|
+
outline: 2px solid #8873FE;
|
|
4246
|
+
outline-offset: 2px;
|
|
4247
|
+
}
|
|
4248
|
+
|
|
4233
4249
|
.fonts-dialog .gjs-mdl-dialog {
|
|
4234
4250
|
width: 100%;
|
|
4235
4251
|
max-width: unset;
|