@vinena/knobs 0.6.2 → 0.6.3

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{elementsview-nhm5k473.js → elementsview-05qybwpn.js} +6 -6
  3. package/dist/{elementsview-ffh56hbj.js → elementsview-gjaqje2k.js} +6 -6
  4. package/dist/{index-xeg2j4r8.js → index-0mav2k60.js} +3 -3
  5. package/dist/{index-v0ht9q0g.js → index-0yn3rnza.js} +3 -3
  6. package/dist/{index-0zp9py56.js → index-4192t60e.js} +1 -1
  7. package/dist/{index-v67kqq9p.js → index-509g0pa8.js} +4 -4
  8. package/dist/{index-yb7fc59g.js → index-6xsvcjnc.js} +2 -2
  9. package/dist/{index-44a62hfx.js → index-aj1z83rt.js} +3 -3
  10. package/dist/{index-4a4x1bt2.js → index-fp1h37b3.js} +1 -1
  11. package/dist/{index-1by1n6p4.js → index-h93t2tc5.js} +4 -4
  12. package/dist/{index-ggf32ddy.js → index-kpsrkzmf.js} +1 -1
  13. package/dist/{index-6bc2ztfd.js → index-rdssc7sz.js} +3 -0
  14. package/dist/index.global.js +81 -79
  15. package/dist/index.js +43 -13
  16. package/dist/{react-myz2rvvn.js → react-2381cr3w.js} +1 -1
  17. package/dist/{react-6q2cw2ya.js → react-4ykd817s.js} +3 -0
  18. package/dist/{react-0wepdf60.js → react-anqpcaqm.js} +3 -3
  19. package/dist/{react-vtcq394z.js → react-gkzn5n3v.js} +4 -4
  20. package/dist/{react-bxzn8vq5.js → react-ptamex0p.js} +1 -1
  21. package/dist/{react-6bz05qk1.js → react-pvmjybgw.js} +1 -1
  22. package/dist/{react-88es9b5q.js → react-r3zf2djn.js} +2 -2
  23. package/dist/{react-c98apxzz.js → react-x1ndxf29.js} +4 -4
  24. package/dist/react.js +43 -13
  25. package/dist/{replay-j18rw92k.js → replay-39ssrcqp.js} +4 -4
  26. package/dist/{replay-vtg0vqj2.js → replay-xacjqqt5.js} +4 -4
  27. package/dist/{storageview-rs5drb7m.js → storageview-3gnncmmv.js} +4 -4
  28. package/dist/{storageview-cth4ysxw.js → storageview-dwsnvz36.js} +4 -4
  29. package/dist/ui/icons.d.ts +1 -0
  30. package/dist/ui/settings.d.ts +7 -0
  31. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # changelog
2
2
 
3
+ ## 0.6.3
4
+
5
+ - a `send feedback` row at the end of the settings opens our feedback page in a new tab, with this knobs version and the page address filled in. the row sends nothing by itself and needs no new permission. the page address it fills in has no query or fragment, so no token in them reaches us
6
+
3
7
  ## 0.6.2
4
8
 
5
9
  - no 1px light line at the top or bottom edge of a phone screen in the device frame, at any pixel ratio: the screen is drawn a whole number of device pixels tall and starts on a whole device pixel, and it is redrawn when the pixel ratio changes. devices without a body, and set zooms like 100%, look as before
@@ -4,7 +4,7 @@ import {
4
4
  HTML_MIN,
5
5
  forcedSelector,
6
6
  forcing
7
- } from "./index-yb7fc59g.js";
7
+ } from "./index-6xsvcjnc.js";
8
8
  import"./index-58jdczmj.js";
9
9
  import {
10
10
  HIDE_ATTRIBUTE,
@@ -29,7 +29,7 @@ import {
29
29
  rulesOf,
30
30
  successor,
31
31
  textEdit
32
- } from "./index-v0ht9q0g.js";
32
+ } from "./index-0yn3rnza.js";
33
33
  import {
34
34
  compareSpecificity,
35
35
  edits,
@@ -38,7 +38,7 @@ import {
38
38
  readSavedEdit,
39
39
  specificity,
40
40
  splitList
41
- } from "./index-0zp9py56.js";
41
+ } from "./index-4192t60e.js";
42
42
  import {
43
43
  boxValue,
44
44
  sizeText
@@ -93,11 +93,11 @@ import {
93
93
  segments,
94
94
  toolToggle,
95
95
  toolbar
96
- } from "./index-4a4x1bt2.js";
96
+ } from "./index-fp1h37b3.js";
97
97
  import {
98
98
  getState,
99
99
  subscribe
100
- } from "./index-ggf32ddy.js";
100
+ } from "./index-kpsrkzmf.js";
101
101
  import {
102
102
  isMac
103
103
  } from "./index-7cb4x1vj.js";
@@ -107,7 +107,7 @@ import {
107
107
  letterMatches,
108
108
  typesInField,
109
109
  withShift
110
- } from "./index-6bc2ztfd.js";
110
+ } from "./index-rdssc7sz.js";
111
111
  import {
112
112
  SIDES,
113
113
  boxModel,
@@ -5,7 +5,7 @@ import {
5
5
  HTML_MIN,
6
6
  forcedSelector,
7
7
  forcing
8
- } from "./react-88es9b5q.js";
8
+ } from "./react-r3zf2djn.js";
9
9
  import"./react-97b5b8j4.js";
10
10
  import {
11
11
  HIDE_ATTRIBUTE,
@@ -30,7 +30,7 @@ import {
30
30
  rulesOf,
31
31
  successor,
32
32
  textEdit
33
- } from "./react-0wepdf60.js";
33
+ } from "./react-anqpcaqm.js";
34
34
  import {
35
35
  compareSpecificity,
36
36
  edits,
@@ -39,7 +39,7 @@ import {
39
39
  readSavedEdit,
40
40
  specificity,
41
41
  splitList
42
- } from "./react-6bz05qk1.js";
42
+ } from "./react-pvmjybgw.js";
43
43
  import {
44
44
  boxValue,
45
45
  sizeText
@@ -94,11 +94,11 @@ import {
94
94
  segments,
95
95
  toolToggle,
96
96
  toolbar
97
- } from "./react-bxzn8vq5.js";
97
+ } from "./react-ptamex0p.js";
98
98
  import {
99
99
  getState,
100
100
  subscribe
101
- } from "./react-myz2rvvn.js";
101
+ } from "./react-2381cr3w.js";
102
102
  import {
103
103
  isMac
104
104
  } from "./react-ttj8f9qp.js";
@@ -108,7 +108,7 @@ import {
108
108
  letterMatches,
109
109
  typesInField,
110
110
  withShift
111
- } from "./react-6q2cw2ya.js";
111
+ } from "./react-4ykd817s.js";
112
112
  import {
113
113
  SIDES,
114
114
  boxModel,
@@ -7,7 +7,7 @@ import {
7
7
  grabColor,
8
8
  isCLike,
9
9
  isElement
10
- } from "./react-c98apxzz.js";
10
+ } from "./react-x1ndxf29.js";
11
11
  import {
12
12
  componentOf,
13
13
  escapeText,
@@ -34,7 +34,7 @@ import {
34
34
  holdInTopLayer,
35
35
  pause,
36
36
  subscribe
37
- } from "./react-myz2rvvn.js";
37
+ } from "./react-2381cr3w.js";
38
38
  import"./react-ttj8f9qp.js";
39
39
  import {
40
40
  composedParent,
@@ -42,7 +42,7 @@ import {
42
42
  icon,
43
43
  isDevknobs,
44
44
  isGrabbable
45
- } from "./react-6q2cw2ya.js";
45
+ } from "./react-4ykd817s.js";
46
46
  import {
47
47
  RINGS,
48
48
  addStyle,
@@ -5,7 +5,7 @@ import {
5
5
  riskyElement,
6
6
  specificity,
7
7
  splitList
8
- } from "./index-0zp9py56.js";
8
+ } from "./index-4192t60e.js";
9
9
  import {
10
10
  middle
11
11
  } from "./index-ftjdt358.js";
@@ -18,12 +18,12 @@ import {
18
18
  import {
19
19
  actButton,
20
20
  el
21
- } from "./index-4a4x1bt2.js";
21
+ } from "./index-fp1h37b3.js";
22
22
  import {
23
23
  icon,
24
24
  isDevknobs,
25
25
  typesInField
26
- } from "./index-6bc2ztfd.js";
26
+ } from "./index-rdssc7sz.js";
27
27
  import {
28
28
  addStyle,
29
29
  authoredQuery,
@@ -408,7 +408,7 @@ function settled(view, quiet = QUIET, longest = SETTLE_MAX) {
408
408
  }
409
409
  function createKeeper(options) {
410
410
  const { log, store, view } = options;
411
- const loadReplay = options.replay ?? (() => import("./replay-vtg0vqj2.js").then(({ replayEdits }) => replayEdits));
411
+ const loadReplay = options.replay ?? (() => import("./replay-xacjqqt5.js").then(({ replayEdits }) => replayEdits));
412
412
  const wait = options.settled ?? (() => settled(view));
413
413
  const frame = options.frame ?? (() => null);
414
414
  const ours = new WeakMap;
@@ -4,13 +4,13 @@ import {
4
4
  lay,
5
5
  rowBox,
6
6
  rowButton
7
- } from "./index-4a4x1bt2.js";
7
+ } from "./index-fp1h37b3.js";
8
8
  import {
9
9
  getState
10
- } from "./index-ggf32ddy.js";
10
+ } from "./index-kpsrkzmf.js";
11
11
  import {
12
12
  icon
13
- } from "./index-6bc2ztfd.js";
13
+ } from "./index-rdssc7sz.js";
14
14
  import {
15
15
  isDevknobsFrame,
16
16
  newer,
@@ -324,7 +324,7 @@ function createPane(context) {
324
324
  // src/ui/storageaction.ts
325
325
  var STORAGE_VIEW = "storage";
326
326
  function load() {
327
- return import("./storageview-cth4ysxw.js").then((loaded) => loaded.storageView({
327
+ return import("./storageview-dwsnvz36.js").then((loaded) => loaded.storageView({
328
328
  visible: () => getState().panel.open && !document.hidden
329
329
  }));
330
330
  }
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  resolveNesting,
7
7
  splitList
8
- } from "./index-0zp9py56.js";
8
+ } from "./index-4192t60e.js";
9
9
  import {
10
10
  flatParent,
11
11
  isNewRuleSheet,
@@ -14,7 +14,7 @@ import {
14
14
  } from "./index-zd6adby9.js";
15
15
  import {
16
16
  isDevknobs
17
- } from "./index-6bc2ztfd.js";
17
+ } from "./index-rdssc7sz.js";
18
18
  import {
19
19
  addStyle,
20
20
  ensureStyle,
@@ -6,7 +6,7 @@ import {
6
6
  grabColor,
7
7
  isCLike,
8
8
  isElement
9
- } from "./index-1by1n6p4.js";
9
+ } from "./index-h93t2tc5.js";
10
10
  import {
11
11
  componentOf,
12
12
  escapeText,
@@ -33,7 +33,7 @@ import {
33
33
  holdInTopLayer,
34
34
  pause,
35
35
  subscribe
36
- } from "./index-ggf32ddy.js";
36
+ } from "./index-kpsrkzmf.js";
37
37
  import"./index-7cb4x1vj.js";
38
38
  import {
39
39
  composedParent,
@@ -41,7 +41,7 @@ import {
41
41
  icon,
42
42
  isDevknobs,
43
43
  isGrabbable
44
- } from "./index-6bc2ztfd.js";
44
+ } from "./index-rdssc7sz.js";
45
45
  import {
46
46
  RINGS,
47
47
  addStyle,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  icon,
3
3
  radioMove
4
- } from "./index-6bc2ztfd.js";
4
+ } from "./index-rdssc7sz.js";
5
5
 
6
6
  // src/ui/dom.ts
7
7
  function el(tag, className, text) {
@@ -4,14 +4,14 @@ import {
4
4
  import {
5
5
  frameWindow,
6
6
  subscribe
7
- } from "./index-ggf32ddy.js";
7
+ } from "./index-kpsrkzmf.js";
8
8
  import {
9
9
  inField,
10
10
  isFunctionKey,
11
11
  keyIs,
12
12
  typesInField,
13
13
  withShift
14
- } from "./index-6bc2ztfd.js";
14
+ } from "./index-rdssc7sz.js";
15
15
  import {
16
16
  addStyle,
17
17
  isDevknobsFrame,
@@ -164,7 +164,7 @@ function systemScheme() {
164
164
  host.remove();
165
165
  return dark ? "dark" : "light";
166
166
  }
167
- function createGrab(options = {}, loadMode = () => import("./index-44a62hfx.js")) {
167
+ function createGrab(options = {}, loadMode = () => import("./index-aj1z83rt.js")) {
168
168
  const keyNow = options.key ?? defaultGrabKey;
169
169
  const { purpose } = options;
170
170
  const channel = purpose?.channel ?? "grab";
@@ -373,7 +373,7 @@ function held(view) {
373
373
  return null;
374
374
  }
375
375
  }
376
- function createInspect(options = {}, load = () => import("./index-44a62hfx.js"), frameOf = frameWindow) {
376
+ function createInspect(options = {}, load = () => import("./index-aj1z83rt.js"), frameOf = frameWindow) {
377
377
  const inFrame = isDevknobsFrame();
378
378
  const listeners = new Set;
379
379
  let outliner = null;
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  composedParent,
28
28
  isDevknobs
29
- } from "./index-6bc2ztfd.js";
29
+ } from "./index-rdssc7sz.js";
30
30
  import {
31
31
  DEFAULT_STATE,
32
32
  EXITED,
@@ -147,6 +147,9 @@ var ICONS = {
147
147
  p("M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2")
148
148
  ],
149
149
  check: [p("M20 6 9 17l-5-5")],
150
+ "message-square": [
151
+ p("M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z")
152
+ ],
150
153
  "chevron-left": [p("m15 18-6-6 6-6")],
151
154
  "chevrons-left-right": [p("m9 7-5 5 5 5"), p("m15 7 5 5-5 5")],
152
155
  plus: [p("M5 12h14"), p("M12 5v14")],