ronds-metadata 1.3.85 → 1.3.86
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +25 -25
- package/es/api/index.js +5 -7
- package/es/comps/CodeEdit/index.d.ts +1 -2
- package/es/comps/CodeEdit/index.less +6 -6
- package/es/comps/DataMine/Line.d.ts +1 -2
- package/es/comps/DataMine/Line.js +1 -0
- package/es/comps/DataMine/index.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/ContextMenu.less +8 -8
- package/es/comps/DynamicPorts/comps/DragNode.d.ts +1 -1
- package/es/comps/DynamicPorts/comps/GraphHandler/index.less +39 -39
- package/es/comps/DynamicPorts/comps/NodeElementForm.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/NodeElementNormal.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/index.less +5 -5
- package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.less +40 -40
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.less +42 -42
- package/es/comps/DynamicPorts/comps/shape/edge.js +7 -7
- package/es/comps/DynamicPorts/comps/shape/edge.less +8 -8
- package/es/comps/DynamicPorts/comps/shape/node.js +9 -8
- package/es/comps/DynamicPorts/graph.js +4 -5
- package/es/comps/DynamicPorts/index.d.ts +1 -2
- package/es/comps/DynamicPorts/index.less +307 -307
- package/es/comps/Editable/DataCell/ButtonCell.d.ts +1 -1
- package/es/comps/Editable/DataCell/ColorPicker.d.ts +1 -1
- package/es/comps/Editable/DataCell/Input.d.ts +1 -1
- package/es/comps/Editable/DataCell/Number.d.ts +1 -1
- package/es/comps/Editable/DataCell/Select.d.ts +1 -1
- package/es/comps/Editable/DataCell/Switch.d.ts +1 -1
- package/es/comps/Editable/DataCell/TreeSelect.d.ts +1 -1
- package/es/comps/Editable/comps/EditableAction.d.ts +1 -2
- package/es/comps/Editable/comps/Texty.d.ts +1 -1
- package/es/comps/Editable/comps/Texty.js +4 -5
- package/es/comps/Editable/comps/Texty.less +43 -43
- package/es/comps/Editable/comps/index.less +38 -38
- package/es/comps/Editable/index.d.ts +1 -2
- package/es/comps/Editable/index.less +97 -97
- package/es/comps/Editable/utils.d.ts +1 -2
- package/es/comps/FileView/index.d.ts +1 -2
- package/es/comps/FileView/index.js +3 -2
- package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/index.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/index.less +23 -23
- package/es/comps/FormGenerator/comps/Canvas/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Settings/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Settings/index.js +2 -1
- package/es/comps/FormGenerator/comps/Sidebar/Elements.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Sidebar/JsonSchema.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Sidebar/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Sidebar/index.less +21 -21
- package/es/comps/FormGenerator/index.d.ts +1 -2
- package/es/comps/FormGenerator/index.less +20 -20
- package/es/comps/JsonEdit/index.d.ts +1 -2
- package/es/comps/JsonEdit/index.js +1 -0
- package/es/comps/JsonEdit/index.less +64 -64
- package/es/comps/JsonView/index.d.ts +1 -2
- package/es/comps/JsonView/index.less +41 -41
- package/es/comps/MdEdit/index.d.ts +1 -2
- package/es/comps/MdEdit/index.less +6 -6
- package/es/comps/MdEditPro/index.d.ts +1 -2
- package/es/comps/MdEditPro/index.less +166 -166
- package/es/comps/MdEditPro/index2.d.ts +1 -1
- package/es/comps/MdNavbar/index.d.ts +1 -2
- package/es/comps/MdNavbar/index.less +77 -77
- package/es/comps/MdView/index.d.ts +1 -1
- package/es/comps/MdView/index.less +376 -376
- package/es/comps/MetadataEdit/components/MetaFieldsEdit.d.ts +1 -2
- package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +1 -2
- package/es/comps/MetadataEdit/constant/index.js +2 -0
- package/es/comps/MetadataEdit/index.d.ts +1 -2
- package/es/comps/MetadataEdit/index.less +10 -10
- package/es/comps/MetadataEdit/type.d.ts +20 -20
- package/es/comps/MetadataForm/DataCell/Array.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Input.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Number.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Ref.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Select.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Switch.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/business/index.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/index.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/MapTable.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.js +2 -1
- package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.d.ts +1 -2
- package/es/comps/MetadataForm/HOC/index.d.ts +1 -2
- package/es/comps/MetadataForm/HOC/index.less +41 -41
- package/es/comps/MetadataForm/index.d.ts +1 -2
- package/es/comps/MetadataForm/utils.d.ts +2 -3
- package/es/comps/Split/index.d.ts +1 -1
- package/es/comps/Split/index.less +29 -29
- package/es/config.js +0 -1
- package/es/framework/RxStore/demo/index.d.ts +1 -2
- package/es/framework/graph/index.less +15 -15
- package/es/framework/http/msgpack5/lib/helpers.js +1 -0
- package/es/framework/libs/jquery.min.js +4 -4
- package/es/framework/locale/dil8/di18n.js +3 -5
- package/es/framework/metadata/MetadataService.js +14 -14
- package/es/framework/metadata/index.js +15 -14
- package/es/framework/metadata/types.d.ts +103 -103
- package/es/theme.less +81 -81
- package/package.json +116 -116
@@ -1,166 +1,166 @@
|
|
1
|
-
/* ---- Cross-editor content styles. --------------------------------------------------------------- */
|
2
|
-
// .ck .ck-editor__top {
|
3
|
-
// position: fixed;
|
4
|
-
// z-index: 1000;
|
5
|
-
// }
|
6
|
-
.ck-editor {
|
7
|
-
height: 100% !important;
|
8
|
-
}
|
9
|
-
.ck .ck-editor__main {
|
10
|
-
height: calc(100% - 40px);
|
11
|
-
}
|
12
|
-
|
13
|
-
.ck.ck-content:not(.ck-style-grid__button__preview) {
|
14
|
-
/* Make sure all content containers have some min height to make them easier to locate. */
|
15
|
-
min-height: 300px;
|
16
|
-
height: 100%;
|
17
|
-
padding: 10px 20px;
|
18
|
-
overflow-y: auto;
|
19
|
-
color: var(--ronds-metadata-color-text-2) !important;
|
20
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
21
|
-
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
22
|
-
}
|
23
|
-
.ck .ck-editor {
|
24
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
25
|
-
}
|
26
|
-
|
27
|
-
.ck-content pre {
|
28
|
-
background-color: var(--ronds-metadata-color-bg-2) !important;
|
29
|
-
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
30
|
-
}
|
31
|
-
|
32
|
-
.ck.ck-toolbar,
|
33
|
-
.ck .ck-editor__top {
|
34
|
-
color: var(--ronds-metadata-color-text-2) !important;
|
35
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
36
|
-
}
|
37
|
-
|
38
|
-
.ck .ck-toolbar {
|
39
|
-
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
40
|
-
}
|
41
|
-
|
42
|
-
.ck .ck-list {
|
43
|
-
color: var(--ronds-metadata-color-text-2) !important;
|
44
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
45
|
-
}
|
46
|
-
|
47
|
-
.ck.ck-button,
|
48
|
-
.ck .ck-button__label,
|
49
|
-
.ck .ck-toolbar__items {
|
50
|
-
color: var(--ronds-metadata-color-text-2) !important;
|
51
|
-
}
|
52
|
-
|
53
|
-
.ck .ck-toolbar__separator {
|
54
|
-
background-color: var(--ronds-metadata-color-border-1) !important;
|
55
|
-
}
|
56
|
-
|
57
|
-
/* Make sure all content containers are distinguishable on a web page even of not focused. */
|
58
|
-
.ck.ck-content:not(:focus) {
|
59
|
-
border: 1px solid var(--ck-color-base-border);
|
60
|
-
}
|
61
|
-
|
62
|
-
/* Font sizes and vertical rhythm for common elements (headings, lists, paragraphs, etc.) */
|
63
|
-
.ck-content h1 {
|
64
|
-
font-size: 28px;
|
65
|
-
}
|
66
|
-
.ck-content h2 {
|
67
|
-
font-size: 18px;
|
68
|
-
}
|
69
|
-
.ck-content h3 {
|
70
|
-
font-size: 16px;
|
71
|
-
}
|
72
|
-
.ck-content h4 {
|
73
|
-
font-size: 15px;
|
74
|
-
}
|
75
|
-
.ck-content h5 {
|
76
|
-
font-size: 15px;
|
77
|
-
}
|
78
|
-
.ck-content h6 {
|
79
|
-
font-size: 15px;
|
80
|
-
}
|
81
|
-
.ck-content h1,
|
82
|
-
.ck-content h2,
|
83
|
-
.ck-content h3,
|
84
|
-
.ck-content h4,
|
85
|
-
.ck-content h5,
|
86
|
-
.ck-content h6 {
|
87
|
-
color: var(--ronds-metadata-color-text-2) !important;
|
88
|
-
margin: 42px 0 18px;
|
89
|
-
font-weight: 600;
|
90
|
-
line-height: 1.40625;
|
91
|
-
}
|
92
|
-
.ck-content blockquote,
|
93
|
-
.ck-content ol,
|
94
|
-
.ck-content p,
|
95
|
-
.ck-content ul {
|
96
|
-
font-size: 15px;
|
97
|
-
line-height: 1.40625;
|
98
|
-
padding-top: 10px;
|
99
|
-
margin-bottom: var(--ck-spacing-large);
|
100
|
-
}
|
101
|
-
|
102
|
-
// .ck-content ol,
|
103
|
-
// .ck-content ul {
|
104
|
-
// margin-left: 10px !important;
|
105
|
-
// }
|
106
|
-
|
107
|
-
.ck-content ul li {
|
108
|
-
list-style: disc !important;
|
109
|
-
}
|
110
|
-
|
111
|
-
.ck-content ol li {
|
112
|
-
list-style: decimal !important;
|
113
|
-
}
|
114
|
-
|
115
|
-
.ck.ck-content.ck-editor__editable_inline > :first-child {
|
116
|
-
margin-top: 0;
|
117
|
-
}
|
118
|
-
|
119
|
-
.ck-content .table {
|
120
|
-
width: 100%;
|
121
|
-
margin: 0px !important;
|
122
|
-
}
|
123
|
-
.ck-content .image {
|
124
|
-
margin: 0px !important;
|
125
|
-
}
|
126
|
-
|
127
|
-
.ronds-metadata-dark {
|
128
|
-
.ck {
|
129
|
-
.table {
|
130
|
-
width: 100%;
|
131
|
-
}
|
132
|
-
th {
|
133
|
-
background-color: #0d1f40 !important;
|
134
|
-
}
|
135
|
-
table,
|
136
|
-
.ck-content .table table td,
|
137
|
-
.ck-content .table table th {
|
138
|
-
color: #9b9fa8 !important;
|
139
|
-
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
140
|
-
}
|
141
|
-
code {
|
142
|
-
color: #9b9fa8 !important;
|
143
|
-
}
|
144
|
-
code[class*='language-'],
|
145
|
-
pre[class*='language-'] {
|
146
|
-
text-shadow: none;
|
147
|
-
}
|
148
|
-
.ck.ck-button:hover,
|
149
|
-
a.ck.ck-button:hover {
|
150
|
-
background-color: #1d4085 !important;
|
151
|
-
}
|
152
|
-
.ck .ck-on {
|
153
|
-
color: var(--ck-color-button-on-color) !important;
|
154
|
-
background-color: #1d4085 !important;
|
155
|
-
}
|
156
|
-
.ck-dropdown__panel {
|
157
|
-
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
158
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
159
|
-
}
|
160
|
-
.ck .ck-form__header__label,
|
161
|
-
.ck-character-info__name,
|
162
|
-
.ck-special-characters-navigation {
|
163
|
-
color: var(--ck-color-button-on-color) !important;
|
164
|
-
}
|
165
|
-
}
|
166
|
-
}
|
1
|
+
/* ---- Cross-editor content styles. --------------------------------------------------------------- */
|
2
|
+
// .ck .ck-editor__top {
|
3
|
+
// position: fixed;
|
4
|
+
// z-index: 1000;
|
5
|
+
// }
|
6
|
+
.ck-editor {
|
7
|
+
height: 100% !important;
|
8
|
+
}
|
9
|
+
.ck .ck-editor__main {
|
10
|
+
height: calc(100% - 40px);
|
11
|
+
}
|
12
|
+
|
13
|
+
.ck.ck-content:not(.ck-style-grid__button__preview) {
|
14
|
+
/* Make sure all content containers have some min height to make them easier to locate. */
|
15
|
+
min-height: 300px;
|
16
|
+
height: 100%;
|
17
|
+
padding: 10px 20px;
|
18
|
+
overflow-y: auto;
|
19
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
20
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
21
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
22
|
+
}
|
23
|
+
.ck .ck-editor {
|
24
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
25
|
+
}
|
26
|
+
|
27
|
+
.ck-content pre {
|
28
|
+
background-color: var(--ronds-metadata-color-bg-2) !important;
|
29
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
30
|
+
}
|
31
|
+
|
32
|
+
.ck.ck-toolbar,
|
33
|
+
.ck .ck-editor__top {
|
34
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
35
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
36
|
+
}
|
37
|
+
|
38
|
+
.ck .ck-toolbar {
|
39
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
40
|
+
}
|
41
|
+
|
42
|
+
.ck .ck-list {
|
43
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
44
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
45
|
+
}
|
46
|
+
|
47
|
+
.ck.ck-button,
|
48
|
+
.ck .ck-button__label,
|
49
|
+
.ck .ck-toolbar__items {
|
50
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
51
|
+
}
|
52
|
+
|
53
|
+
.ck .ck-toolbar__separator {
|
54
|
+
background-color: var(--ronds-metadata-color-border-1) !important;
|
55
|
+
}
|
56
|
+
|
57
|
+
/* Make sure all content containers are distinguishable on a web page even of not focused. */
|
58
|
+
.ck.ck-content:not(:focus) {
|
59
|
+
border: 1px solid var(--ck-color-base-border);
|
60
|
+
}
|
61
|
+
|
62
|
+
/* Font sizes and vertical rhythm for common elements (headings, lists, paragraphs, etc.) */
|
63
|
+
.ck-content h1 {
|
64
|
+
font-size: 28px;
|
65
|
+
}
|
66
|
+
.ck-content h2 {
|
67
|
+
font-size: 18px;
|
68
|
+
}
|
69
|
+
.ck-content h3 {
|
70
|
+
font-size: 16px;
|
71
|
+
}
|
72
|
+
.ck-content h4 {
|
73
|
+
font-size: 15px;
|
74
|
+
}
|
75
|
+
.ck-content h5 {
|
76
|
+
font-size: 15px;
|
77
|
+
}
|
78
|
+
.ck-content h6 {
|
79
|
+
font-size: 15px;
|
80
|
+
}
|
81
|
+
.ck-content h1,
|
82
|
+
.ck-content h2,
|
83
|
+
.ck-content h3,
|
84
|
+
.ck-content h4,
|
85
|
+
.ck-content h5,
|
86
|
+
.ck-content h6 {
|
87
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
88
|
+
margin: 42px 0 18px;
|
89
|
+
font-weight: 600;
|
90
|
+
line-height: 1.40625;
|
91
|
+
}
|
92
|
+
.ck-content blockquote,
|
93
|
+
.ck-content ol,
|
94
|
+
.ck-content p,
|
95
|
+
.ck-content ul {
|
96
|
+
font-size: 15px;
|
97
|
+
line-height: 1.40625;
|
98
|
+
padding-top: 10px;
|
99
|
+
margin-bottom: var(--ck-spacing-large);
|
100
|
+
}
|
101
|
+
|
102
|
+
// .ck-content ol,
|
103
|
+
// .ck-content ul {
|
104
|
+
// margin-left: 10px !important;
|
105
|
+
// }
|
106
|
+
|
107
|
+
.ck-content ul li {
|
108
|
+
list-style: disc !important;
|
109
|
+
}
|
110
|
+
|
111
|
+
.ck-content ol li {
|
112
|
+
list-style: decimal !important;
|
113
|
+
}
|
114
|
+
|
115
|
+
.ck.ck-content.ck-editor__editable_inline > :first-child {
|
116
|
+
margin-top: 0;
|
117
|
+
}
|
118
|
+
|
119
|
+
.ck-content .table {
|
120
|
+
width: 100%;
|
121
|
+
margin: 0px !important;
|
122
|
+
}
|
123
|
+
.ck-content .image {
|
124
|
+
margin: 0px !important;
|
125
|
+
}
|
126
|
+
|
127
|
+
.ronds-metadata-dark {
|
128
|
+
.ck {
|
129
|
+
.table {
|
130
|
+
width: 100%;
|
131
|
+
}
|
132
|
+
th {
|
133
|
+
background-color: #0d1f40 !important;
|
134
|
+
}
|
135
|
+
table,
|
136
|
+
.ck-content .table table td,
|
137
|
+
.ck-content .table table th {
|
138
|
+
color: #9b9fa8 !important;
|
139
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
140
|
+
}
|
141
|
+
code {
|
142
|
+
color: #9b9fa8 !important;
|
143
|
+
}
|
144
|
+
code[class*='language-'],
|
145
|
+
pre[class*='language-'] {
|
146
|
+
text-shadow: none;
|
147
|
+
}
|
148
|
+
.ck.ck-button:hover,
|
149
|
+
a.ck.ck-button:hover {
|
150
|
+
background-color: #1d4085 !important;
|
151
|
+
}
|
152
|
+
.ck .ck-on {
|
153
|
+
color: var(--ck-color-button-on-color) !important;
|
154
|
+
background-color: #1d4085 !important;
|
155
|
+
}
|
156
|
+
.ck-dropdown__panel {
|
157
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
158
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
159
|
+
}
|
160
|
+
.ck .ck-form__header__label,
|
161
|
+
.ck-character-info__name,
|
162
|
+
.ck-special-characters-navigation {
|
163
|
+
color: var(--ck-color-button-on-color) !important;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import React from 'react';
|
2
1
|
import './index.less';
|
3
2
|
interface IMdNavbarProps {
|
4
3
|
source: string;
|
@@ -10,5 +9,5 @@ interface IMdNavbarProps {
|
|
10
9
|
onNavItemClick?: (event: any, element: HTMLDivElement, hashValue: string) => void;
|
11
10
|
onHashChange?: (newHash: string, oldHash: string) => void;
|
12
11
|
}
|
13
|
-
declare const MdNavbar: (props: IMdNavbarProps) =>
|
12
|
+
declare const MdNavbar: (props: IMdNavbarProps) => JSX.Element;
|
14
13
|
export default MdNavbar;
|
@@ -1,77 +1,77 @@
|
|
1
|
-
.markdown-navigation {
|
2
|
-
font-size: 14px;
|
3
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', 'Arial', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
|
4
|
-
'WenQuanYi Micro Hei', sans-serif;
|
5
|
-
width: 100%;
|
6
|
-
overflow-x: hidden;
|
7
|
-
overflow-y: scroll;
|
8
|
-
scrollbar-width: 0;
|
9
|
-
width: 200px;
|
10
|
-
}
|
11
|
-
.markdown-navigation::-webkit-scrollbar {
|
12
|
-
width: 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
.markdown-navigation .title-anchor {
|
16
|
-
display: block;
|
17
|
-
color: #bbb;
|
18
|
-
transition: all 0.2s;
|
19
|
-
margin: 0.8em 0;
|
20
|
-
font-weight: lighter;
|
21
|
-
line-height: 2em;
|
22
|
-
padding-right: 1.8em;
|
23
|
-
cursor: pointer;
|
24
|
-
}
|
25
|
-
|
26
|
-
.markdown-navigation .title-anchor:hover,
|
27
|
-
.markdown-navigation .title-anchor.active {
|
28
|
-
background-color: #f8f8f8;
|
29
|
-
text-decoration: inherit;
|
30
|
-
}
|
31
|
-
|
32
|
-
.markdown-navigation .title-anchor.active {
|
33
|
-
color: #007fff;
|
34
|
-
}
|
35
|
-
|
36
|
-
.markdown-navigation .title-anchor small {
|
37
|
-
margin: 0 0.8em;
|
38
|
-
}
|
39
|
-
|
40
|
-
.markdown-navigation .title-level1 {
|
41
|
-
color: #000;
|
42
|
-
font-size: 1.2em;
|
43
|
-
padding-left: 1em;
|
44
|
-
font-weight: normal;
|
45
|
-
}
|
46
|
-
|
47
|
-
.markdown-navigation .title-level2 {
|
48
|
-
color: #000;
|
49
|
-
font-size: 1em;
|
50
|
-
padding-left: 1em;
|
51
|
-
font-weight: normal;
|
52
|
-
}
|
53
|
-
|
54
|
-
.markdown-navigation .title-level3 {
|
55
|
-
color: #000;
|
56
|
-
font-size: 0.8em;
|
57
|
-
padding-left: 3em;
|
58
|
-
font-weight: normal;
|
59
|
-
}
|
60
|
-
|
61
|
-
.markdown-navigation .title-level4 {
|
62
|
-
color: #000;
|
63
|
-
font-size: 0.72em;
|
64
|
-
padding-left: 5em;
|
65
|
-
}
|
66
|
-
|
67
|
-
.markdown-navigation .title-level5 {
|
68
|
-
color: #000;
|
69
|
-
font-size: 0.72em;
|
70
|
-
padding-left: 7em;
|
71
|
-
}
|
72
|
-
|
73
|
-
.markdown-navigation .title-level6 {
|
74
|
-
color: #000;
|
75
|
-
font-size: 0.72em;
|
76
|
-
padding-left: 9em;
|
77
|
-
}
|
1
|
+
.markdown-navigation {
|
2
|
+
font-size: 14px;
|
3
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', 'Arial', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
|
4
|
+
'WenQuanYi Micro Hei', sans-serif;
|
5
|
+
width: 100%;
|
6
|
+
overflow-x: hidden;
|
7
|
+
overflow-y: scroll;
|
8
|
+
scrollbar-width: 0;
|
9
|
+
width: 200px;
|
10
|
+
}
|
11
|
+
.markdown-navigation::-webkit-scrollbar {
|
12
|
+
width: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
.markdown-navigation .title-anchor {
|
16
|
+
display: block;
|
17
|
+
color: #bbb;
|
18
|
+
transition: all 0.2s;
|
19
|
+
margin: 0.8em 0;
|
20
|
+
font-weight: lighter;
|
21
|
+
line-height: 2em;
|
22
|
+
padding-right: 1.8em;
|
23
|
+
cursor: pointer;
|
24
|
+
}
|
25
|
+
|
26
|
+
.markdown-navigation .title-anchor:hover,
|
27
|
+
.markdown-navigation .title-anchor.active {
|
28
|
+
background-color: #f8f8f8;
|
29
|
+
text-decoration: inherit;
|
30
|
+
}
|
31
|
+
|
32
|
+
.markdown-navigation .title-anchor.active {
|
33
|
+
color: #007fff;
|
34
|
+
}
|
35
|
+
|
36
|
+
.markdown-navigation .title-anchor small {
|
37
|
+
margin: 0 0.8em;
|
38
|
+
}
|
39
|
+
|
40
|
+
.markdown-navigation .title-level1 {
|
41
|
+
color: #000;
|
42
|
+
font-size: 1.2em;
|
43
|
+
padding-left: 1em;
|
44
|
+
font-weight: normal;
|
45
|
+
}
|
46
|
+
|
47
|
+
.markdown-navigation .title-level2 {
|
48
|
+
color: #000;
|
49
|
+
font-size: 1em;
|
50
|
+
padding-left: 1em;
|
51
|
+
font-weight: normal;
|
52
|
+
}
|
53
|
+
|
54
|
+
.markdown-navigation .title-level3 {
|
55
|
+
color: #000;
|
56
|
+
font-size: 0.8em;
|
57
|
+
padding-left: 3em;
|
58
|
+
font-weight: normal;
|
59
|
+
}
|
60
|
+
|
61
|
+
.markdown-navigation .title-level4 {
|
62
|
+
color: #000;
|
63
|
+
font-size: 0.72em;
|
64
|
+
padding-left: 5em;
|
65
|
+
}
|
66
|
+
|
67
|
+
.markdown-navigation .title-level5 {
|
68
|
+
color: #000;
|
69
|
+
font-size: 0.72em;
|
70
|
+
padding-left: 7em;
|
71
|
+
}
|
72
|
+
|
73
|
+
.markdown-navigation .title-level6 {
|
74
|
+
color: #000;
|
75
|
+
font-size: 0.72em;
|
76
|
+
padding-left: 9em;
|
77
|
+
}
|