@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.
Files changed (58) hide show
  1. package/dist/basic/FilesDragDrop.d.ts +1 -0
  2. package/dist/basic/FilesDragDrop.d.ts.map +1 -1
  3. package/dist/basic/FilesDragDrop.global.less.css +4 -0
  4. package/dist/basic/FilesDragDrop.global.less.css.map +1 -0
  5. package/dist/basic/FilesDragDrop.js +3 -12
  6. package/dist/basic/FilesDragDrop.js.map +1 -1
  7. package/dist/dev/DevHost.d.ts +1 -0
  8. package/dist/dev/DevHost.d.ts.map +1 -1
  9. package/dist/dev/DevHost.js +4 -40
  10. package/dist/dev/DevHost.js.map +1 -1
  11. package/dist/dev/Devhost.global.less.css +33 -0
  12. package/dist/dev/Devhost.global.less.css.map +1 -0
  13. package/dist/html-editor/commands/AddLink.d.ts +1 -0
  14. package/dist/html-editor/commands/AddLink.d.ts.map +1 -1
  15. package/dist/html-editor/commands/AddLink.js +4 -10
  16. package/dist/html-editor/commands/AddLink.js.map +1 -1
  17. package/dist/html-editor/commands/AddLink.local.less.css +6 -0
  18. package/dist/html-editor/commands/AddLink.local.less.css.map +1 -0
  19. package/dist/html-editor/commands/ChangeColor.d.ts +1 -0
  20. package/dist/html-editor/commands/ChangeColor.d.ts.map +1 -1
  21. package/dist/html-editor/commands/ChangeColor.js +4 -29
  22. package/dist/html-editor/commands/ChangeColor.js.map +1 -1
  23. package/dist/html-editor/commands/ChangeColor.local.less.css +22 -0
  24. package/dist/html-editor/commands/ChangeColor.local.less.css.map +1 -0
  25. package/dist/html-editor/commands/ChangeFont.d.ts +1 -0
  26. package/dist/html-editor/commands/ChangeFont.d.ts.map +1 -1
  27. package/dist/html-editor/commands/ChangeFont.js +4 -9
  28. package/dist/html-editor/commands/ChangeFont.js.map +1 -1
  29. package/dist/html-editor/commands/ChangeFont.local.less.css +5 -0
  30. package/dist/html-editor/commands/ChangeFont.local.less.css.map +1 -0
  31. package/dist/html-editor/commands/Separator.d.ts +1 -0
  32. package/dist/html-editor/commands/Separator.d.ts.map +1 -1
  33. package/dist/html-editor/commands/Separator.global.less.css +11 -0
  34. package/dist/html-editor/commands/Separator.global.less.css.map +1 -0
  35. package/dist/html-editor/commands/Separator.js +5 -18
  36. package/dist/html-editor/commands/Separator.js.map +1 -1
  37. package/dist/html-editor/commands/Source.d.ts +1 -0
  38. package/dist/html-editor/commands/Source.d.ts.map +1 -1
  39. package/dist/html-editor/commands/Source.js +4 -11
  40. package/dist/html-editor/commands/Source.js.map +1 -1
  41. package/dist/html-editor/commands/Source.local.less.css +0 -0
  42. package/dist/html-editor/commands/Source.local.less.css.map +0 -0
  43. package/dist/tsconfig.tsbuildinfo +1 -1
  44. package/package.json +1 -1
  45. package/src/basic/FilesDragDrop.global.less +5 -0
  46. package/src/basic/FilesDragDrop.ts +1 -8
  47. package/src/dev/DevHost.tsx +3 -36
  48. package/src/dev/Devhost.global.less +34 -0
  49. package/src/html-editor/commands/AddLink.local.less +5 -0
  50. package/src/html-editor/commands/AddLink.tsx +2 -6
  51. package/src/html-editor/commands/ChangeColor.local.less +23 -0
  52. package/src/html-editor/commands/ChangeColor.tsx +2 -26
  53. package/src/html-editor/commands/ChangeFont.local.less +4 -0
  54. package/src/html-editor/commands/ChangeFont.tsx +2 -5
  55. package/src/html-editor/commands/Separator.global.less +10 -0
  56. package/src/html-editor/commands/Separator.tsx +2 -12
  57. package/src/html-editor/commands/Source.local.less +3 -0
  58. package/src/html-editor/commands/Source.tsx +2 -7
@@ -0,0 +1,10 @@
1
+ [data-toolbar-item=separator] {
2
+ background-color: #a9a9a9;
3
+ margin-left: 4px;
4
+ margin-right: 4px;
5
+ display: inline-block;
6
+ margin-top: 4px;
7
+ height: 1rem;
8
+ width: 2px;
9
+ padding: 0;
10
+ }
@@ -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
- const separatorCss = styled.css `
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 class={separatorCss}></div>;
6
+ return <div data-toolbar-item="separator"/>;
17
7
  }
@@ -0,0 +1,3 @@
1
+ .web-controls-html-editor-source {
2
+
3
+ }
@@ -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 styled from "@web-atoms/core/dist/style/styled";
8
+ import "./Source.local.less";
9
9
 
10
- const css = styled.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