makethisbetter 1.18.1 → 1.19.0

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/README.md CHANGED
@@ -406,7 +406,7 @@ MakeThisBetter.open(): void
406
406
  // Close annotation mode and restore the page
407
407
  MakeThisBetter.close(): void
408
408
 
409
- // Show or remove the docked tab without tearing the widget down
409
+ // Show or remove the docked tab on non-touch devices without tearing down
410
410
  MakeThisBetter.showLauncher(): void
411
411
  MakeThisBetter.hideLauncher(): void
412
412
 
@@ -429,8 +429,9 @@ document.querySelector('#menu-feedback')
429
429
  ```
430
430
 
431
431
  In `api` mode nothing is reachable until you wire up that call, so the widget
432
- logs a warning on init as a reminder. `showLauncher()` brings the tab back at
433
- runtime if you want both.
432
+ logs a warning on init as a reminder. On non-touch devices, `showLauncher()` can
433
+ bring the docked tab back at runtime. Touch devices never render the SDK tab;
434
+ put the entry in your own mobile UI and call `MakeThisBetter.open()` from it.
434
435
 
435
436
  ## Architecture
436
437
 
package/dist/index.d.cts CHANGED
@@ -10,6 +10,7 @@ declare const MakeThisBetter: {
10
10
  */
11
11
  open(): void;
12
12
  close(): void;
13
+ /** Shows the docked tab on non-touch devices. Mobile entry UI belongs to the host. */
13
14
  showLauncher(): void;
14
15
  hideLauncher(): void;
15
16
  };
package/dist/index.d.mts CHANGED
@@ -10,6 +10,7 @@ declare const MakeThisBetter: {
10
10
  */
11
11
  open(): void;
12
12
  close(): void;
13
+ /** Shows the docked tab on non-touch devices. Mobile entry UI belongs to the host. */
13
14
  showLauncher(): void;
14
15
  hideLauncher(): void;
15
16
  };
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ declare const MakeThisBetter: {
10
10
  */
11
11
  open(): void;
12
12
  close(): void;
13
+ /** Shows the docked tab on non-touch devices. Mobile entry UI belongs to the host. */
13
14
  showLauncher(): void;
14
15
  hideLauncher(): void;
15
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAgBnD,QAAA,MAAM,cAAc;iBACL,oBAAoB,GAAG,IAAI;eAkB7B,IAAI;sBAOG,MAAM,GAAG,IAAI;IAK/B;;;;OAIG;YACK,IAAI;aAIH,IAAI;oBAIG,IAAI;oBAIJ,IAAI;CAGrB,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA;AACzB,YAAY,EAAE,oBAAoB,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAgBnD,QAAA,MAAM,cAAc;iBACL,oBAAoB,GAAG,IAAI;eAkB7B,IAAI;sBAOG,MAAM,GAAG,IAAI;IAK/B;;;;OAIG;YACK,IAAI;aAIH,IAAI;IAIb,sFAAsF;oBACtE,IAAI;oBAIJ,IAAI;CAGrB,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA;AACzB,YAAY,EAAE,oBAAoB,EAAE,CAAA"}