@web-atoms/web-controls 2.4.66 → 2.4.67
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/basic/FilesDragDrop.d.ts +1 -0
- package/dist/basic/FilesDragDrop.d.ts.map +1 -1
- package/dist/basic/FilesDragDrop.global.less.css +4 -0
- package/dist/basic/FilesDragDrop.global.less.css.map +1 -0
- package/dist/basic/FilesDragDrop.js +3 -12
- package/dist/basic/FilesDragDrop.js.map +1 -1
- package/dist/dev/DevHost.d.ts +1 -0
- package/dist/dev/DevHost.d.ts.map +1 -1
- package/dist/dev/DevHost.js +4 -40
- package/dist/dev/DevHost.js.map +1 -1
- package/dist/dev/Devhost.global.less.css +33 -0
- package/dist/dev/Devhost.global.less.css.map +1 -0
- package/dist/html-editor/commands/AddLink.d.ts +1 -0
- package/dist/html-editor/commands/AddLink.d.ts.map +1 -1
- package/dist/html-editor/commands/AddLink.js +4 -10
- package/dist/html-editor/commands/AddLink.js.map +1 -1
- package/dist/html-editor/commands/AddLink.local.less.css +6 -0
- package/dist/html-editor/commands/AddLink.local.less.css.map +1 -0
- package/dist/html-editor/commands/ChangeColor.d.ts +1 -0
- package/dist/html-editor/commands/ChangeColor.d.ts.map +1 -1
- package/dist/html-editor/commands/ChangeColor.js +4 -29
- package/dist/html-editor/commands/ChangeColor.js.map +1 -1
- package/dist/html-editor/commands/ChangeColor.local.less.css +22 -0
- package/dist/html-editor/commands/ChangeColor.local.less.css.map +1 -0
- package/dist/html-editor/commands/ChangeFont.d.ts +1 -0
- package/dist/html-editor/commands/ChangeFont.d.ts.map +1 -1
- package/dist/html-editor/commands/ChangeFont.js +4 -9
- package/dist/html-editor/commands/ChangeFont.js.map +1 -1
- package/dist/html-editor/commands/ChangeFont.local.less.css +5 -0
- package/dist/html-editor/commands/ChangeFont.local.less.css.map +1 -0
- package/dist/html-editor/commands/Separator.d.ts +1 -0
- package/dist/html-editor/commands/Separator.d.ts.map +1 -1
- package/dist/html-editor/commands/Separator.global.less.css +11 -0
- package/dist/html-editor/commands/Separator.global.less.css.map +1 -0
- package/dist/html-editor/commands/Separator.js +5 -18
- package/dist/html-editor/commands/Separator.js.map +1 -1
- package/dist/html-editor/commands/Source.d.ts +1 -0
- package/dist/html-editor/commands/Source.d.ts.map +1 -1
- package/dist/html-editor/commands/Source.js +4 -11
- package/dist/html-editor/commands/Source.js.map +1 -1
- package/dist/html-editor/commands/Source.local.less.css +0 -0
- package/dist/html-editor/commands/Source.local.less.css.map +0 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/basic/FilesDragDrop.global.less +5 -0
- package/src/basic/FilesDragDrop.ts +1 -8
- package/src/dev/DevHost.tsx +3 -36
- package/src/dev/Devhost.global.less +34 -0
- package/src/html-editor/commands/AddLink.local.less +5 -0
- package/src/html-editor/commands/AddLink.tsx +2 -6
- package/src/html-editor/commands/ChangeColor.local.less +23 -0
- package/src/html-editor/commands/ChangeColor.tsx +2 -26
- package/src/html-editor/commands/ChangeFont.local.less +4 -0
- package/src/html-editor/commands/ChangeFont.tsx +2 -5
- package/src/html-editor/commands/Separator.global.less +10 -0
- package/src/html-editor/commands/Separator.tsx +2 -12
- package/src/html-editor/commands/Source.local.less +3 -0
- package/src/html-editor/commands/Source.tsx +2 -7
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
import XNode from "@web-atoms/core/dist/core/XNode";
|
|
2
|
-
import styled from "@web-atoms/core/dist/style/styled";
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
background-color: #a9a9a9;
|
|
6
|
-
margin-left: 4px;
|
|
7
|
-
margin-right: 4px;
|
|
8
|
-
display: inline-block;
|
|
9
|
-
margin-top: 4px;
|
|
10
|
-
height: 1rem;
|
|
11
|
-
width: 2px;
|
|
12
|
-
padding: 0;
|
|
13
|
-
`.installLocal();
|
|
3
|
+
import "./Separator.global.less";
|
|
14
4
|
|
|
15
5
|
export default function Separator() {
|
|
16
|
-
return <div
|
|
6
|
+
return <div data-toolbar-item="separator"/>;
|
|
17
7
|
}
|
|
@@ -5,14 +5,9 @@ import PopupService, { PopupWindow } from "@web-atoms/core/dist/web/services/Pop
|
|
|
5
5
|
import type AtomHtmlEditor from "../AtomHtmlEditor";
|
|
6
6
|
import CommandButton from "./CommandButton";
|
|
7
7
|
import HtmlCommands from "./HtmlCommands";
|
|
8
|
-
import
|
|
8
|
+
import "./Source.local.less";
|
|
9
9
|
|
|
10
|
-
const css =
|
|
11
|
-
& > textarea {
|
|
12
|
-
min-height: 500px;
|
|
13
|
-
min-width: 700px;
|
|
14
|
-
}
|
|
15
|
-
`.installLocal();
|
|
10
|
+
const css = "web-controls-html-editor-source";
|
|
16
11
|
|
|
17
12
|
async function showDialog(s: AtomHtmlEditor, e: Event): Promise<string> {
|
|
18
13
|
|