@sparqjs/schema-vue 0.2.2 → 0.2.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.
- package/dist/custom-components/IconInput/IconInput.d.ts.map +1 -1
- package/dist/custom-components/IconInput/SqIcon.d.ts.map +1 -1
- package/dist/custom-components/IconInput/SqIconInput.d.ts.map +1 -1
- package/dist/custom-components/JsonEditor/SqJson.d.ts.map +1 -1
- package/dist/custom-components/KeyValueEditor/KeyValueEditor.d.ts.map +1 -1
- package/dist/custom-components/KeyValueEditor/SqKeyValue.d.ts.map +1 -1
- package/dist/custom-components/KeyValueEditor/index.d.ts +1 -1
- package/dist/custom-components/KeyValueEditor/index.d.ts.map +1 -1
- package/dist/custom-components/RichText/SqRichText.d.ts.map +1 -1
- package/dist/custom-components/shared/standalone.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1605 -1344
- package/dist/index.js.map +1 -1
- package/dist/keys.d.ts.map +1 -1
- package/dist/registry/icon.d.ts.map +1 -1
- package/dist/registry/rich-text.d.ts.map +1 -1
- package/dist/render/audit.d.ts.map +1 -1
- package/dist/render/context.d.ts.map +1 -1
- package/dist/render/embedded-view.d.ts.map +1 -1
- package/dist/render/field-node.d.ts.map +1 -1
- package/dist/render/page-structure.d.ts.map +1 -1
- package/dist/render/structure.d.ts.map +1 -1
- package/dist/render/view-structures.d.ts.map +1 -1
- package/dist/rich-text/wang.d.ts +105 -0
- package/dist/rich-text/wang.d.ts.map +1 -0
- package/dist/runtime/renderer.d.ts.map +1 -1
- package/dist/semantic-components/FieldDisplay.d.ts.map +1 -1
- package/dist/semantic-components/SectionBlock.d.ts.map +1 -1
- package/dist/semantic-components/StatusTag.d.ts.map +1 -1
- package/dist/semantic-components/Thumbnail.d.ts.map +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/ui/schema-ui.d.ts.map +1 -1
- package/dist/version.d.ts +3 -0
- package/dist/version.d.ts.map +1 -0
- package/package.json +8 -6
- package/src/asset/preview/style.css +71 -11
- package/src/custom-components/Upload/style.css +5 -1
- package/src/detail/style.css +15 -3
- package/src/render/style.css +10 -2
- package/src/style.css +52 -0
package/src/style.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import './tokens.css';
|
|
2
|
+
@import '@wangeditor/editor/dist/css/style.css';
|
|
2
3
|
@import './semantic-components/style.css';
|
|
3
4
|
@import './render/style.css';
|
|
4
5
|
@import './detail/style.css';
|
|
@@ -7,3 +8,54 @@
|
|
|
7
8
|
@import './custom-components/KeyValueEditor/style.css';
|
|
8
9
|
@import './asset/picker/style.css';
|
|
9
10
|
@import './asset/upload/style.css';
|
|
11
|
+
|
|
12
|
+
.sparq-rich-text-editor--wang .sparq-rich-text-editor__toolbar-row {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: stretch;
|
|
15
|
+
border: 1px solid #e5e7eb;
|
|
16
|
+
border-bottom: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.sparq-rich-text-editor--wang .sparq-rich-text-editor__toolbar-row > :first-child {
|
|
20
|
+
flex: 1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.sparq-rich-text-editor--wang .w-e-text-container {
|
|
24
|
+
min-height: 300px;
|
|
25
|
+
border: 1px solid #e5e7eb;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.sparq-rich-text-editor--wang .sparq-rich-text-editor__toolbar-row + .w-e-text-container {
|
|
29
|
+
border-top: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.sparq-rich-text-editor--wang .is-source-hidden {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.sparq-rich-text-editor--wang .sparq-rich-text-editor__source-toggle {
|
|
37
|
+
min-width: 76px;
|
|
38
|
+
padding: 0 12px;
|
|
39
|
+
border: 0;
|
|
40
|
+
border-left: 1px solid #e5e7eb;
|
|
41
|
+
background: #ffffff;
|
|
42
|
+
color: #475569;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.sparq-rich-text-editor--wang .sparq-rich-text-editor__source-toggle.is-active {
|
|
47
|
+
color: #2563eb;
|
|
48
|
+
background: #eff6ff;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.sparq-rich-text-editor--wang .sparq-rich-text-editor__source {
|
|
52
|
+
display: block;
|
|
53
|
+
width: 100%;
|
|
54
|
+
min-height: 300px;
|
|
55
|
+
padding: 12px;
|
|
56
|
+
border: 1px solid #e5e7eb;
|
|
57
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
58
|
+
font-size: 13px;
|
|
59
|
+
line-height: 1.6;
|
|
60
|
+
resize: vertical;
|
|
61
|
+
}
|