@netless/app-slide 0.0.41 → 0.0.45
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 +1 -1
- package/dist/main.cjs.js +159 -159
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +4838 -4823
- package/dist/main.es.js.map +1 -1
- package/dist/main.iife.js +159 -159
- package/dist/main.iife.js.map +1 -1
- package/package.json +2 -2
- package/src/DocsViewer/style.scss +34 -21
- package/src/index.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netless/app-slide",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.45",
|
|
4
4
|
"main": "dist/main.cjs.js",
|
|
5
5
|
"module": "dist/main.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
],
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@netless/app-shared": "^0.1.1",
|
|
14
|
-
"@netless/slide": "^0.1.
|
|
14
|
+
"@netless/slide": "^0.1.48",
|
|
15
15
|
"@types/color-string": "^1.5.2",
|
|
16
16
|
"color-string": "^1.9.0",
|
|
17
17
|
"side-effect-manager": "^0.1.5",
|
|
@@ -122,11 +122,18 @@ $namespace: $slide-namespace;
|
|
|
122
122
|
transition: background 0.4s;
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
user-select: none;
|
|
125
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
125
126
|
|
|
126
127
|
&:hover {
|
|
127
128
|
background: rgba(237, 237, 240, 0.9);
|
|
128
129
|
}
|
|
129
130
|
|
|
131
|
+
@media (hover: none) {
|
|
132
|
+
&:hover {
|
|
133
|
+
background: transparent !important;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
130
137
|
& > svg {
|
|
131
138
|
width: 100%;
|
|
132
139
|
height: 100%;
|
|
@@ -170,12 +177,19 @@ $namespace: $slide-namespace;
|
|
|
170
177
|
border: none;
|
|
171
178
|
outline: none;
|
|
172
179
|
width: 1.5em;
|
|
180
|
+
margin: 0;
|
|
181
|
+
padding: 0 2px;
|
|
173
182
|
text-align: right;
|
|
183
|
+
font-size: 13px;
|
|
184
|
+
line-height: 1;
|
|
185
|
+
font-weight: normal;
|
|
186
|
+
font-family: inherit;
|
|
174
187
|
border-radius: 2px;
|
|
175
188
|
color: currentColor;
|
|
176
189
|
background: transparent;
|
|
177
190
|
transition: background 0.4s;
|
|
178
191
|
user-select: text;
|
|
192
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
179
193
|
|
|
180
194
|
&:hover,
|
|
181
195
|
&:focus,
|
|
@@ -186,30 +200,29 @@ $namespace: $slide-namespace;
|
|
|
186
200
|
}
|
|
187
201
|
|
|
188
202
|
.#{$namespace}-readonly {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
&:hover {
|
|
193
|
-
background: transparent;
|
|
194
|
-
}
|
|
203
|
+
&.#{$namespace}-footer {
|
|
204
|
+
display: none;
|
|
195
205
|
}
|
|
206
|
+
}
|
|
196
207
|
|
|
208
|
+
.telebox-color-scheme-dark {
|
|
197
209
|
.#{$namespace}-page-number-input {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
&:hover,
|
|
201
|
-
&:focus,
|
|
202
|
-
&:active {
|
|
203
|
-
background: transparent;
|
|
204
|
-
box-shadow: none;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
&:disabled {
|
|
208
|
-
color: inherit;
|
|
209
|
-
}
|
|
210
|
+
color: #a6a6a8;
|
|
210
211
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
212
|
+
.#{$namespace}-page-number-input:active,
|
|
213
|
+
.#{$namespace}-page-number-input:focus,
|
|
214
|
+
.#{$namespace}-page-number-input:hover {
|
|
215
|
+
color: #222;
|
|
216
|
+
}
|
|
217
|
+
.#{$namespace}-footer {
|
|
218
|
+
color: #a6a6a8;
|
|
219
|
+
background: #2d2d33;
|
|
220
|
+
border-top: none;
|
|
221
|
+
}
|
|
222
|
+
.#{$namespace}-footer-btn:hover {
|
|
223
|
+
background: #212126;
|
|
224
|
+
}
|
|
225
|
+
.#{$namespace}-preview {
|
|
226
|
+
background: rgba(50, 50, 50, 0.9);
|
|
214
227
|
}
|
|
215
228
|
}
|
package/src/index.ts
CHANGED
|
@@ -22,7 +22,7 @@ export { SlidePreviewer, default as previewSlide } from "./SlidePreviewer";
|
|
|
22
22
|
|
|
23
23
|
export type { Attributes, AddHooks, FreezableSlide };
|
|
24
24
|
|
|
25
|
-
export const version = "0.0.
|
|
25
|
+
export const version = "0.0.45";
|
|
26
26
|
|
|
27
27
|
export { DefaultUrl, apps, FreezerLength, addHooks };
|
|
28
28
|
|