@vinena/knobs 0.6.1 → 0.6.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 +4 -0
- package/dist/{elementsview-xm82cvs2.js → elementsview-ffh56hbj.js} +1 -1
- package/dist/{elementsview-dm5v3z5a.js → elementsview-nhm5k473.js} +1 -1
- package/dist/engine/fit.d.ts +16 -1
- package/dist/engine/mockdraw.d.ts +3 -1
- package/dist/{framekit-yx612r28.js → framekit-3bmkm34m.js} +88 -11
- package/dist/{framekit-622h6w1f.js → framekit-h0jrc5gs.js} +88 -11
- package/dist/{index-f60yax1j.js → index-1by1n6p4.js} +3 -3
- package/dist/{index-f67wctn3.js → index-44a62hfx.js} +2 -2
- package/dist/{index-x59vz1xx.js → index-ggf32ddy.js} +1 -1
- package/dist/{index-aynkv7qk.js → index-v67kqq9p.js} +2 -2
- package/dist/{index-kfdzsyyw.js → index-xeg2j4r8.js} +2 -2
- package/dist/index.global.js +137 -131
- package/dist/index.js +6 -6
- package/dist/{react-v8497a41.js → react-c98apxzz.js} +3 -3
- package/dist/{react-cs62p9qh.js → react-myz2rvvn.js} +1 -1
- package/dist/{react-6t4dbdzn.js → react-vtcq394z.js} +2 -2
- package/dist/react.js +6 -6
- package/dist/{storageview-pzn8yaad.js → storageview-cth4ysxw.js} +2 -2
- package/dist/{storageview-6xj7zb63.js → storageview-rs5drb7m.js} +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
createGrab,
|
|
13
13
|
createInspect,
|
|
14
14
|
oneAtATime
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-1by1n6p4.js";
|
|
16
16
|
import {
|
|
17
17
|
hushOnce
|
|
18
18
|
} from "./index-aymfvd8s.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
showPane,
|
|
71
71
|
stopOnLoad,
|
|
72
72
|
viewHead
|
|
73
|
-
} from "./index-
|
|
73
|
+
} from "./index-v67kqq9p.js";
|
|
74
74
|
import {
|
|
75
75
|
actButton,
|
|
76
76
|
button,
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
watchHinge,
|
|
145
145
|
watchPanel,
|
|
146
146
|
zoomKey
|
|
147
|
-
} from "./index-
|
|
147
|
+
} from "./index-ggf32ddy.js";
|
|
148
148
|
import {
|
|
149
149
|
MAT_COLORS,
|
|
150
150
|
MAT_COLOR_NAMES,
|
|
@@ -2635,7 +2635,7 @@ var PANE = { openPane, paneView, onPane, retitlePane, showPane };
|
|
|
2635
2635
|
function here(element) {
|
|
2636
2636
|
return element.isConnected && element.ownerDocument.defaultView !== null;
|
|
2637
2637
|
}
|
|
2638
|
-
function createInspector(context, load = () => import("./elementsview-
|
|
2638
|
+
function createInspector(context, load = () => import("./elementsview-nhm5k473.js").then(({ createElementsView }) => ({ createStylesView: createElementsView })), pane = PANE) {
|
|
2639
2639
|
const { inspect, tips, prefs } = context;
|
|
2640
2640
|
const listeners = new Set;
|
|
2641
2641
|
let view = null;
|
|
@@ -9317,7 +9317,7 @@ function createPanel(options2 = {}) {
|
|
|
9317
9317
|
}
|
|
9318
9318
|
|
|
9319
9319
|
// src/version.ts
|
|
9320
|
-
var VERSION = "0.6.
|
|
9320
|
+
var VERSION = "0.6.2";
|
|
9321
9321
|
|
|
9322
9322
|
// src/index.ts
|
|
9323
9323
|
var PRESETS = {
|
|
@@ -9620,7 +9620,7 @@ async function grab(elements, options2) {
|
|
|
9620
9620
|
const host = hosted("grab");
|
|
9621
9621
|
if (host)
|
|
9622
9622
|
return host(elements, options2);
|
|
9623
|
-
const loaded = await import("./index-
|
|
9623
|
+
const loaded = await import("./index-44a62hfx.js");
|
|
9624
9624
|
return loaded.grab(elements, options2);
|
|
9625
9625
|
}
|
|
9626
9626
|
function edits2() {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
frameWindow,
|
|
7
7
|
subscribe
|
|
8
|
-
} from "./react-
|
|
8
|
+
} from "./react-myz2rvvn.js";
|
|
9
9
|
import {
|
|
10
10
|
inField,
|
|
11
11
|
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-xeg2j4r8.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-xeg2j4r8.js"), frameOf = frameWindow) {
|
|
378
378
|
const inFrame = isDevknobsFrame();
|
|
379
379
|
const listeners = new Set;
|
|
380
380
|
let outliner = null;
|
|
@@ -1776,7 +1776,7 @@ function pause(on) {
|
|
|
1776
1776
|
|
|
1777
1777
|
// src/engine/frames.ts
|
|
1778
1778
|
var kit = null;
|
|
1779
|
-
var load2 = () => import("./framekit-
|
|
1779
|
+
var load2 = () => import("./framekit-h0jrc5gs.js");
|
|
1780
1780
|
var loading = null;
|
|
1781
1781
|
var down = false;
|
|
1782
1782
|
var waiting = [];
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./react-bxzn8vq5.js";
|
|
9
9
|
import {
|
|
10
10
|
getState
|
|
11
|
-
} from "./react-
|
|
11
|
+
} from "./react-myz2rvvn.js";
|
|
12
12
|
import {
|
|
13
13
|
icon
|
|
14
14
|
} from "./react-6q2cw2ya.js";
|
|
@@ -210,7 +210,7 @@ function createPane(context) {
|
|
|
210
210
|
// src/ui/storageaction.ts
|
|
211
211
|
var STORAGE_VIEW = "storage";
|
|
212
212
|
function load() {
|
|
213
|
-
return import("./storageview-
|
|
213
|
+
return import("./storageview-rs5drb7m.js").then((loaded) => loaded.storageView({
|
|
214
214
|
visible: () => getState().panel.open && !document.hidden
|
|
215
215
|
}));
|
|
216
216
|
}
|
package/dist/react.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
createGrab,
|
|
14
14
|
createInspect,
|
|
15
15
|
oneAtATime
|
|
16
|
-
} from "./react-
|
|
16
|
+
} from "./react-c98apxzz.js";
|
|
17
17
|
import {
|
|
18
18
|
hushOnce
|
|
19
19
|
} from "./react-1gqwa2yw.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
showPane,
|
|
72
72
|
stopOnLoad,
|
|
73
73
|
viewHead
|
|
74
|
-
} from "./react-
|
|
74
|
+
} from "./react-vtcq394z.js";
|
|
75
75
|
import {
|
|
76
76
|
actButton,
|
|
77
77
|
button,
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
watchHinge,
|
|
146
146
|
watchPanel,
|
|
147
147
|
zoomKey
|
|
148
|
-
} from "./react-
|
|
148
|
+
} from "./react-myz2rvvn.js";
|
|
149
149
|
import {
|
|
150
150
|
MAT_COLORS,
|
|
151
151
|
MAT_COLOR_NAMES,
|
|
@@ -2638,7 +2638,7 @@ var PANE = { openPane, paneView, onPane, retitlePane, showPane };
|
|
|
2638
2638
|
function here(element) {
|
|
2639
2639
|
return element.isConnected && element.ownerDocument.defaultView !== null;
|
|
2640
2640
|
}
|
|
2641
|
-
function createInspector(context, load = () => import("./elementsview-
|
|
2641
|
+
function createInspector(context, load = () => import("./elementsview-ffh56hbj.js").then(({ createElementsView }) => ({ createStylesView: createElementsView })), pane = PANE) {
|
|
2642
2642
|
const { inspect, tips, prefs } = context;
|
|
2643
2643
|
const listeners = new Set;
|
|
2644
2644
|
let view = null;
|
|
@@ -9320,7 +9320,7 @@ function createPanel(options2 = {}) {
|
|
|
9320
9320
|
}
|
|
9321
9321
|
|
|
9322
9322
|
// src/version.ts
|
|
9323
|
-
var VERSION = "0.6.
|
|
9323
|
+
var VERSION = "0.6.2";
|
|
9324
9324
|
// src/index.ts
|
|
9325
9325
|
var panel = null;
|
|
9326
9326
|
var stopKeys = null;
|
|
@@ -9614,7 +9614,7 @@ async function grab(elements, options2) {
|
|
|
9614
9614
|
const host = hosted("grab");
|
|
9615
9615
|
if (host)
|
|
9616
9616
|
return host(elements, options2);
|
|
9617
|
-
const loaded = await import("./index-
|
|
9617
|
+
const loaded = await import("./index-xeg2j4r8.js");
|
|
9618
9618
|
return loaded.grab(elements, options2);
|
|
9619
9619
|
}
|
|
9620
9620
|
function edits2() {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
cookieText,
|
|
6
6
|
put,
|
|
7
7
|
storedPresets
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-v67kqq9p.js";
|
|
9
9
|
import {
|
|
10
10
|
copyText
|
|
11
11
|
} from "./index-ztnjefrh.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
textField,
|
|
32
32
|
toolbar
|
|
33
33
|
} from "./index-4a4x1bt2.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-ggf32ddy.js";
|
|
35
35
|
import"./index-7cb4x1vj.js";
|
|
36
36
|
import {
|
|
37
37
|
icon
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
cookieText,
|
|
7
7
|
put,
|
|
8
8
|
storedPresets
|
|
9
|
-
} from "./react-
|
|
9
|
+
} from "./react-vtcq394z.js";
|
|
10
10
|
import {
|
|
11
11
|
copyText
|
|
12
12
|
} from "./react-h9w04skh.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
textField,
|
|
33
33
|
toolbar
|
|
34
34
|
} from "./react-bxzn8vq5.js";
|
|
35
|
-
import"./react-
|
|
35
|
+
import"./react-myz2rvvn.js";
|
|
36
36
|
import"./react-ttj8f9qp.js";
|
|
37
37
|
import {
|
|
38
38
|
icon
|