@vinena/knobs 0.7.1 → 0.7.2
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/CHANGELOG.md +5 -0
- package/dist/{elementsview-mcg6d5zp.js → elementsview-1bar694x.js} +2 -2
- package/dist/{elementsview-mwr1s17z.js → elementsview-p2wc9b0s.js} +2 -2
- package/dist/engine/bandmedia.d.ts +119 -0
- package/dist/engine/browserui.d.ts +3 -1
- package/dist/engine/pageshot.d.ts +24 -4
- package/dist/engine/safaridraw.d.ts +24 -3
- package/dist/engine/underbar.d.ts +26 -7
- package/dist/{framekit-wyppj1se.js → framekit-n57ts9zt.js} +937 -70
- package/dist/{framekit-4v7nc3ea.js → framekit-wqp811a2.js} +937 -70
- package/dist/{index-bgzyc7rz.js → index-b8cnnbpr.js} +3 -3
- package/dist/{index-c1t6knbf.js → index-cfrnrg24.js} +3 -3
- package/dist/{index-82y8x8vv.js → index-j8hrzag1.js} +2 -2
- package/dist/{index-3s4v7gw5.js → index-pvknvvkw.js} +3 -3
- package/dist/{index-cqymjce4.js → index-qz04adp5.js} +3 -3
- package/dist/{index-a23nv5j4.js → index-t7a07nm9.js} +2 -2
- package/dist/index.global.js +183 -166
- package/dist/index.js +7 -7
- package/dist/{react-7tzwahsm.js → react-0tbd51s3.js} +2 -2
- package/dist/{react-ppyj3fg2.js → react-881wvm1z.js} +2 -2
- package/dist/{react-wzd3cfg8.js → react-pf7fc2f3.js} +3 -3
- package/dist/{react-tet7swk2.js → react-zj0dbpdg.js} +3 -3
- package/dist/react.js +7 -7
- package/dist/{storageview-2rvwk0v7.js → storageview-5tvmca8y.js} +3 -3
- package/dist/{storageview-6vq7nz02.js → storageview-ec52x60p.js} +3 -3
- package/package.json +2 -1
|
@@ -888,14 +888,14 @@ function domainPill(x, top2, look = SAFARI_PILL) {
|
|
|
888
888
|
text: { x, y: top2 + height / 2, size, pad }
|
|
889
889
|
};
|
|
890
890
|
}
|
|
891
|
-
function address(kind, box, page, reload) {
|
|
891
|
+
function address(kind, box, page, reload, clear) {
|
|
892
892
|
const y = box.y + box.height / 2;
|
|
893
893
|
return {
|
|
894
894
|
...capsule(kind, box, [
|
|
895
895
|
mark("page", box.x + page, y),
|
|
896
896
|
mark("reload", box.x + box.width - reload, y)
|
|
897
897
|
]),
|
|
898
|
-
text: { x: box.x + box.width / 2, y, size: SAFARI_TEXT.field }
|
|
898
|
+
text: { x: box.x + box.width / 2, y, size: SAFARI_TEXT.field, ...clear === undefined ? {} : { clear } }
|
|
899
899
|
};
|
|
900
900
|
}
|
|
901
901
|
function acrossRow(left2, right2, y) {
|
|
@@ -949,7 +949,7 @@ function duoCover(bars, W, H, orientation, minimized) {
|
|
|
949
949
|
const [back = 0, reader = 0] = c.buttons;
|
|
950
950
|
const low = H - c.gap - c.capsule;
|
|
951
951
|
bars.shapes = [
|
|
952
|
-
address("glass", rect(c.inset, H - c.gap - 48, page - 2 * c.inset, 48), 24, 24),
|
|
952
|
+
address("glass", rect(c.inset, H - c.gap - 48, page - 2 * c.inset, 48), 24, 24, 25),
|
|
953
953
|
button(back, "back"),
|
|
954
954
|
button(reader, "bookmarks"),
|
|
955
955
|
capsule("glass", rect(x - 24, low, 48, c.capsule), [mark("plus", x, low + 24), mark("tabs", x, H - c.gap - 24)])
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
grabColor,
|
|
7
7
|
isCLike,
|
|
8
8
|
isElement
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-pvknvvkw.js";
|
|
10
10
|
import {
|
|
11
11
|
componentOf,
|
|
12
12
|
escapeText,
|
|
@@ -33,8 +33,8 @@ import {
|
|
|
33
33
|
holdInTopLayer,
|
|
34
34
|
pause,
|
|
35
35
|
subscribe
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
36
|
+
} from "./index-t7a07nm9.js";
|
|
37
|
+
import"./index-b8cnnbpr.js";
|
|
38
38
|
import {
|
|
39
39
|
composedParent,
|
|
40
40
|
grabTargetAt,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./index-vmz7htwn.js";
|
|
8
8
|
import {
|
|
9
9
|
getState
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-t7a07nm9.js";
|
|
11
11
|
import {
|
|
12
12
|
icon
|
|
13
13
|
} from "./index-vhda420r.js";
|
|
@@ -327,7 +327,7 @@ function createPane(context) {
|
|
|
327
327
|
// src/ui/storageaction.ts
|
|
328
328
|
var STORAGE_VIEW = "storage";
|
|
329
329
|
function load() {
|
|
330
|
-
return import("./storageview-
|
|
330
|
+
return import("./storageview-ec52x60p.js").then((loaded) => loaded.storageView({
|
|
331
331
|
visible: () => getState().panel.open && !document.hidden
|
|
332
332
|
}));
|
|
333
333
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
frameWindow,
|
|
6
6
|
subscribe
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-t7a07nm9.js";
|
|
8
8
|
import {
|
|
9
9
|
inField,
|
|
10
10
|
isFunctionKey,
|
|
@@ -165,7 +165,7 @@ function systemScheme() {
|
|
|
165
165
|
host.remove();
|
|
166
166
|
return dark ? "dark" : "light";
|
|
167
167
|
}
|
|
168
|
-
function createGrab(options = {}, loadMode = () => import("./index-
|
|
168
|
+
function createGrab(options = {}, loadMode = () => import("./index-cfrnrg24.js")) {
|
|
169
169
|
const keyNow = options.key ?? defaultGrabKey;
|
|
170
170
|
const { purpose } = options;
|
|
171
171
|
const channel = purpose?.channel ?? "grab";
|
|
@@ -374,7 +374,7 @@ function held(view) {
|
|
|
374
374
|
return null;
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
|
-
function createInspect(options = {}, load = () => import("./index-
|
|
377
|
+
function createInspect(options = {}, load = () => import("./index-cfrnrg24.js"), frameOf = frameWindow) {
|
|
378
378
|
const inFrame = isDevknobsFrame();
|
|
379
379
|
const listeners = new Set;
|
|
380
380
|
let outliner = null;
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
grabColor,
|
|
8
8
|
isCLike,
|
|
9
9
|
isElement
|
|
10
|
-
} from "./react-
|
|
10
|
+
} from "./react-pf7fc2f3.js";
|
|
11
11
|
import {
|
|
12
12
|
componentOf,
|
|
13
13
|
escapeText,
|
|
@@ -34,8 +34,8 @@ import {
|
|
|
34
34
|
holdInTopLayer,
|
|
35
35
|
pause,
|
|
36
36
|
subscribe
|
|
37
|
-
} from "./react-
|
|
38
|
-
import"./react-
|
|
37
|
+
} from "./react-881wvm1z.js";
|
|
38
|
+
import"./react-zj0dbpdg.js";
|
|
39
39
|
import {
|
|
40
40
|
composedParent,
|
|
41
41
|
grabTargetAt,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resume,
|
|
23
23
|
screenSizeOf,
|
|
24
24
|
uaPreset
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-b8cnnbpr.js";
|
|
26
26
|
import {
|
|
27
27
|
composedParent,
|
|
28
28
|
isDevknobs
|
|
@@ -1144,7 +1144,7 @@ function holdInTopLayer(host, rank) {
|
|
|
1144
1144
|
|
|
1145
1145
|
// src/engine/frames.ts
|
|
1146
1146
|
var kit = null;
|
|
1147
|
-
var load2 = () => import("./framekit-
|
|
1147
|
+
var load2 = () => import("./framekit-wqp811a2.js");
|
|
1148
1148
|
var loading = null;
|
|
1149
1149
|
var down = false;
|
|
1150
1150
|
var waiting = [];
|