prosemirror-slash-menu-react 0.0.6 → 0.0.8
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/index.d.ts +2 -2
- package/dist/index.es.js +339 -340
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +339 -340
- package/dist/index.js.map +1 -1
- package/dist/slashMenuReact/ListItem.d.ts +13 -13
- package/dist/slashMenuReact/defaults.d.ts +24 -24
- package/dist/slashMenuReact/display.d.ts +48 -48
- package/dist/slashMenuReact/utils.d.ts +2 -2
- package/package.json +23 -12
- package/dist/assets/index-05ff7633.css +0 -73
- package/dist/assets/index-14e7dbea.css +0 -72
- package/dist/assets/index-6cb01e0d.css +0 -71
- package/dist/assets/index-cfd97ea4.css +0 -73
- package/dist/assets/index.es-5b89677e.css +0 -71
- package/dist/assets/index.es-d21c7ba0.css +0 -73
- package/dist/assets/index.es-d3088368.css +0 -72
- package/dist/assets/index.es-fa7f86de.css +0 -73
- package/dist/index.css +0 -60
- package/dist/index.es.css +0 -60
- package/dist/slashMenuReact/icons/defaultIcons.d.ts +0 -11
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
.menu-display-root {
|
|
2
|
-
position: absolute;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
height: 150px;
|
|
6
|
-
width: 200px;
|
|
7
|
-
z-index: 100;
|
|
8
|
-
overflow: scroll;
|
|
9
|
-
border-radius: 0.3rem;
|
|
10
|
-
background-color: #fafafa;
|
|
11
|
-
border: 2px solid #dddddd;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.menu-element-wrapper {
|
|
15
|
-
display: flex;
|
|
16
|
-
border-radius: 0.3rem;
|
|
17
|
-
padding: 0.2rem 0.5rem;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.menu-element-selected {
|
|
21
|
-
background-color: #f1f1f1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.menu-element-icon {
|
|
25
|
-
width: 23px;
|
|
26
|
-
height: auto;
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.menu-element-label {
|
|
32
|
-
color: black;
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
margin-left: 0.5rem;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.menu-placeholder {
|
|
39
|
-
color: #aaaaaa;
|
|
40
|
-
text-align: center;
|
|
41
|
-
padding-top: 1rem;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.menu-filter-wrapper {
|
|
45
|
-
display: flex;
|
|
46
|
-
background-color: transparent;
|
|
47
|
-
padding: 0.2rem 0.5rem;
|
|
48
|
-
position: absolute;
|
|
49
|
-
top: -1.5rem;
|
|
50
|
-
width: 200px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.menu-filter-icon {
|
|
54
|
-
width: 23px;
|
|
55
|
-
height: auto;
|
|
56
|
-
display: flex;
|
|
57
|
-
align-items: center;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.menu-filter {
|
|
61
|
-
color: #aaaaaa;
|
|
62
|
-
font-style: italic
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.menu-filter-placeholder {
|
|
66
|
-
color: #aaaaaa;
|
|
67
|
-
font-style: italic
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.submenu-label {
|
|
71
|
-
margin-left: 0.5rem;
|
|
72
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
.menu-display-root {
|
|
2
|
-
position: absolute;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
flex: 1;
|
|
6
|
-
max-height: 150px;
|
|
7
|
-
width: 200px;
|
|
8
|
-
z-index: 100;
|
|
9
|
-
overflow: scroll;
|
|
10
|
-
border-radius: 0.3rem;
|
|
11
|
-
background-color: #fafafa;
|
|
12
|
-
border: 2px solid #dddddd;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.menu-element-wrapper {
|
|
16
|
-
display: flex;
|
|
17
|
-
border-radius: 0.3rem;
|
|
18
|
-
padding: 0.2rem 0.5rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.menu-element-selected {
|
|
22
|
-
background-color: #f1f1f1;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.menu-element-icon {
|
|
26
|
-
width: 23px;
|
|
27
|
-
height: auto;
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.menu-element-label {
|
|
33
|
-
color: black;
|
|
34
|
-
display: flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
margin-left: 0.5rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.menu-placeholder {
|
|
40
|
-
color: #aaaaaa;
|
|
41
|
-
text-align: center;
|
|
42
|
-
padding-top: 1rem;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.menu-filter-wrapper {
|
|
46
|
-
display: flex;
|
|
47
|
-
background-color: transparent;
|
|
48
|
-
padding: 0.2rem 0.5rem;
|
|
49
|
-
position: absolute;
|
|
50
|
-
top: -1.5rem;
|
|
51
|
-
width: 200px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.menu-filter-icon {
|
|
55
|
-
width: 23px;
|
|
56
|
-
height: auto;
|
|
57
|
-
display: flex;
|
|
58
|
-
align-items: center;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.menu-filter {
|
|
62
|
-
color: #aaaaaa;
|
|
63
|
-
font-style: italic
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.menu-filter-placeholder {
|
|
67
|
-
color: #aaaaaa;
|
|
68
|
-
font-style: italic
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.submenu-label {
|
|
72
|
-
margin-left: 0.5rem;
|
|
73
|
-
}
|
package/dist/index.css
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
.menu-display-root {
|
|
2
|
-
position: absolute;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
height: 150px;
|
|
6
|
-
width: 200px;
|
|
7
|
-
z-index: 100;
|
|
8
|
-
overflow: scroll;
|
|
9
|
-
border-radius: 0.3rem;
|
|
10
|
-
background-color: #fafafa;
|
|
11
|
-
border: 2px solid #dddddd;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.menu-element-wrapper {
|
|
15
|
-
display: flex;
|
|
16
|
-
border-radius: 0.3rem;
|
|
17
|
-
padding: 0.2rem 0.5rem;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.menu-element-selected {
|
|
21
|
-
background-color: #f1f1f1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.menu-element-icon {
|
|
25
|
-
width: 23px;
|
|
26
|
-
height: auto;
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.menu-element-label {
|
|
32
|
-
color: black;
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
margin-left: 0.5rem;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.menu-placeholder {
|
|
39
|
-
color: #aaaaaa;
|
|
40
|
-
text-align: center;
|
|
41
|
-
padding-top: 1rem;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.menu-filter-wrapper {
|
|
45
|
-
display: flex;
|
|
46
|
-
background-color: transparent;
|
|
47
|
-
padding: 0.2rem 0.5rem;
|
|
48
|
-
position: absolute;
|
|
49
|
-
top: -1.5rem;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.menu-filter {
|
|
53
|
-
color: #aaaaaa;
|
|
54
|
-
font-style: italic;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
.submenu-label{
|
|
59
|
-
margin-left: 0.5rem;
|
|
60
|
-
}
|
package/dist/index.es.css
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
.menu-display-root {
|
|
2
|
-
position: absolute;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
height: 150px;
|
|
6
|
-
width: 200px;
|
|
7
|
-
z-index: 100;
|
|
8
|
-
overflow: scroll;
|
|
9
|
-
border-radius: 0.3rem;
|
|
10
|
-
background-color: #fafafa;
|
|
11
|
-
border: 2px solid #dddddd;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.menu-element-wrapper {
|
|
15
|
-
display: flex;
|
|
16
|
-
border-radius: 0.3rem;
|
|
17
|
-
padding: 0.2rem 0.5rem;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.menu-element-selected {
|
|
21
|
-
background-color: #f1f1f1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.menu-element-icon {
|
|
25
|
-
width: 23px;
|
|
26
|
-
height: auto;
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.menu-element-label {
|
|
32
|
-
color: black;
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
margin-left: 0.5rem;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.menu-placeholder {
|
|
39
|
-
color: #aaaaaa;
|
|
40
|
-
text-align: center;
|
|
41
|
-
padding-top: 1rem;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.menu-filter-wrapper {
|
|
45
|
-
display: flex;
|
|
46
|
-
background-color: transparent;
|
|
47
|
-
padding: 0.2rem 0.5rem;
|
|
48
|
-
position: absolute;
|
|
49
|
-
top: -1.5rem;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.menu-filter {
|
|
53
|
-
color: #aaaaaa;
|
|
54
|
-
font-style: italic;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
.submenu-label{
|
|
59
|
-
margin-left: 0.5rem;
|
|
60
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare const HeadingIcon: () => React.JSX.Element;
|
|
3
|
-
export declare const H1Icon: () => React.JSX.Element;
|
|
4
|
-
export declare const H2Icon: () => React.JSX.Element;
|
|
5
|
-
export declare const H3Icon: () => React.JSX.Element;
|
|
6
|
-
export declare const ItalicIcon: () => React.JSX.Element;
|
|
7
|
-
export declare const BoldIcon: () => React.JSX.Element;
|
|
8
|
-
export declare const ArrowLeft: () => React.JSX.Element;
|
|
9
|
-
export declare const ArrowRight: () => React.JSX.Element;
|
|
10
|
-
export declare const CodeIcon: () => React.JSX.Element;
|
|
11
|
-
export declare const Link: () => React.JSX.Element;
|