@haklex/rich-plugin-floating-toolbar 0.0.20 → 0.0.23
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.
|
@@ -1,62 +1 @@
|
|
|
1
|
-
@keyframes _1m6axz70 {
|
|
2
|
-
from {
|
|
3
|
-
opacity: 0;
|
|
4
|
-
transform: translateY(4px) scale(0.96);
|
|
5
|
-
}
|
|
6
|
-
to {
|
|
7
|
-
opacity: 1;
|
|
8
|
-
transform: translateY(0) scale(1);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
._1m6axz71 {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
gap: 2px;
|
|
15
|
-
padding: 4px 6px;
|
|
16
|
-
border-radius: 12px;
|
|
17
|
-
border: 1px solid var(--rc-border);
|
|
18
|
-
background-color: color-mix(in srgb, var(--rc-bg) 95%, transparent);
|
|
19
|
-
backdrop-filter: blur(8px);
|
|
20
|
-
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
|
|
21
|
-
animation: _1m6axz70 150ms ease-out;
|
|
22
|
-
}
|
|
23
|
-
._1m6axz72 {
|
|
24
|
-
position: relative;
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
width: 32px;
|
|
29
|
-
height: 32px;
|
|
30
|
-
border: none;
|
|
31
|
-
background: none;
|
|
32
|
-
border-radius: 8px;
|
|
33
|
-
color: var(--rc-text-secondary);
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
padding: 0;
|
|
36
|
-
transition: color 0.1s, background-color 0.1s;
|
|
37
|
-
}
|
|
38
|
-
._1m6axz72:hover {
|
|
39
|
-
color: var(--rc-text);
|
|
40
|
-
background-color: color-mix(in srgb, var(--rc-text) 4%, transparent);
|
|
41
|
-
}
|
|
42
|
-
._1m6axz73 {
|
|
43
|
-
color: var(--rc-text);
|
|
44
|
-
background-color: color-mix(in srgb, var(--rc-text) 6%, transparent);
|
|
45
|
-
}
|
|
46
|
-
._1m6axz74 {
|
|
47
|
-
position: absolute;
|
|
48
|
-
bottom: 2px;
|
|
49
|
-
left: 50%;
|
|
50
|
-
transform: translateX(-50%);
|
|
51
|
-
height: 2px;
|
|
52
|
-
width: 14px;
|
|
53
|
-
border-radius: 1px;
|
|
54
|
-
background-color: var(--rc-text);
|
|
55
|
-
}
|
|
56
|
-
._1m6axz75 {
|
|
57
|
-
width: 1px;
|
|
58
|
-
height: 20px;
|
|
59
|
-
background-color: var(--rc-border);
|
|
60
|
-
margin-inline: 2px;
|
|
61
|
-
flex-shrink: 0;
|
|
62
|
-
}
|
|
1
|
+
@keyframes _1m6axz70{0%{opacity:0;transform:translateY(4px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}._1m6axz71{display:flex;align-items:center;gap:2px;padding:4px 6px;border-radius:12px;border:1px solid var(--rc-border);background-color:color-mix(in srgb,var(--rc-bg) 95%,transparent);backdrop-filter:blur(8px);box-shadow:0 8px 30px #0000001f,0 2px 8px #0000000f;animation:_1m6axz70 .15s ease-out}._1m6axz72{position:relative;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:none;border-radius:8px;color:var(--rc-text-secondary);cursor:pointer;padding:0;transition:color .1s,background-color .1s}._1m6axz72:hover{color:var(--rc-text);background-color:color-mix(in srgb,var(--rc-text) 4%,transparent)}._1m6axz73{color:var(--rc-text);background-color:color-mix(in srgb,var(--rc-text) 6%,transparent)}._1m6axz74{position:absolute;bottom:2px;left:50%;transform:translate(-50%);height:2px;width:14px;border-radius:1px;background-color:var(--rc-text)}._1m6axz75{width:1px;height:20px;background-color:var(--rc-border);margin-inline:2px;flex-shrink:0}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-plugin-floating-toolbar",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "Floating toolbar plugin",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@haklex/rich-
|
|
20
|
-
"@haklex/rich-
|
|
19
|
+
"@haklex/rich-editor-ui": "0.0.23",
|
|
20
|
+
"@haklex/rich-style-token": "0.0.23"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@lexical/link": "^0.40.0",
|